<!DOCTYPE html>
<!-- saved from url=(0070)https://securepubads.g.doubleclick.net/static/topics/topics_frame.html -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <title>Topics Frame</title>
    <meta http-equiv="origin-trial" content="Avh5Ny0XEFCyQ7+oNieXskUrqY8edUzL5/XrwKlGjARQHW4TFRK+jVd5HnDIpY20n5OLHfgU4ku7x48N3uhG/A0AAABxeyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjk1MTY3OTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZX0=">
    <script>
      
/*

 Copyright 2022 Google LLC
 SPDX-License-Identifier: Apache-2.0
*/
var m,aa,ba=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ca="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},da=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");},ea=da(this),fa="function"===typeof Symbol&&"symbol"===typeof Symbol("x"),q={},ha={},v=function(a,b,c){if(!c||null!=a){c=ha[b];if(null==c)return a[b];c=a[c];return void 0!==c?c:a[b]}},w=function(a,b,c){if(b)a:{var d=a.split(".");a=1===d.length;var e=d[0],g;!a&&e in q?g=q:g=ea;for(e=0;e<d.length-1;e++){var f=d[e];if(!(f in g))break a;g=g[f]}d=d[d.length-1];c=fa&&"es6"===c?g[d]:null;b=b(c);null!=b&&(a?ca(q,d,{configurable:!0,writable:!0,value:b}):b!==c&&(void 0===ha[d]&&(a=1E9*Math.random()>>>0,ha[d]=fa?ea.Symbol(d):"$jscp$"+a+"$"+d),ca(g,ha[d],{configurable:!0,writable:!0,value:b})))}};w("Symbol",function(a){if(a)return a;var b=function(g,f){this.g=g;ca(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=function(){return this.g};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(g){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(g||"")+"_"+d++,g)};return e},"es6");w("Symbol.iterator",function(a){if(a)return a;a=(0,q.Symbol)("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=ea[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ca(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ia(ba(this))}})}return a},"es6");var ia=function(a){a={next:a};a[v(q.Symbol,"iterator")]=function(){return this};return a},ja=function(a){return a.raw=a},y=function(a){var b="undefined"!=typeof q.Symbol&&v(q.Symbol,"iterator")&&a[v(q.Symbol,"iterator")];if(b)return b.call(a);if("number"==typeof a.length)return{next:ba(a)};throw Error(String(a)+" is not an iterable or ArrayLike");},ka=function(a){if(!(a instanceof Array)){a=y(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a},la=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},ma=fa&&"function"==typeof v(Object,"assign")?v(Object,"assign"):function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)la(d,e)&&(a[e]=d[e])}return a};w("Object.assign",function(a){return a||ma},"es6");var na="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},oa;if(fa&&"function"==typeof v(Object,"setPrototypeOf"))oa=v(Object,"setPrototypeOf");else{var pa;a:{var qa={a:!0},ra={};try{ra.__proto__=qa;pa=ra.a;break a}catch(a){}pa=!1}oa=pa?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var sa=oa,A=function(a,b){a.prototype=na(b.prototype);a.prototype.constructor=a;if(sa)sa(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.Pa=b.prototype},ta=function(){this.C=!1;this.i=null;this.g=void 0;this.h=1;this.V=this.o=0;this.l=null},ua=function(a){if(a.C)throw new TypeError("Generator is already running");a.C=!0};ta.prototype.T=function(a){this.g=a};var va=function(a,b){a.l={ka:b,Ea:!0};a.h=a.o||a.V};ta.prototype.return=function(a){this.l={return:a};this.h=this.V};var B=function(a,b,c){a.h=c;return{value:b}},wa=function(a){a.o=0;var b=a.l.ka;a.l=null;return b},xa=function(a){this.g=new ta;this.h=a},Aa=function(a,b){ua(a.g);var c=a.g.i;if(c)return ya(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.g.return);a.g.return(b);return za(a)},ya=function(a,b,c,d){try{var e=b.call(a.g.i,c);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.g.C=!1,e;var g=e.value}catch(f){return a.g.i=null,va(a.g,f),za(a)}a.g.i=null;d.call(a.g,g);return za(a)},za=function(a){for(;a.g.h;)try{var b=a.h(a.g);if(b)return a.g.C=!1,{value:b.value,done:!1}}catch(c){a.g.g=void 0,va(a.g,c)}a.g.C=!1;if(a.g.l){b=a.g.l;a.g.l=null;if(b.Ea)throw b.ka;return{value:b.return,done:!0}}return{value:void 0,done:!0}},Ba=function(a){this.next=function(b){ua(a.g);a.g.i?b=ya(a,a.g.i.next,b,a.g.T):(a.g.T(b),b=za(a));return b};this.throw=function(b){ua(a.g);a.g.i?b=ya(a,a.g.i["throw"],b,a.g.T):(va(a.g,b),b=za(a));return b};this.return=function(b){return Aa(a,b)};this[v(q.Symbol,"iterator")]=function(){return this}},Da=function(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new q.Promise(function(d,e){function g(f){f.done?d(f.value):q.Promise.resolve(f.value).then(b,c).then(g,e)}g(a.next())})},C=function(a){return Da(new Ba(new xa(a)))},Ea=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};w("Reflect.setPrototypeOf",function(a){return a?a:sa?function(b,c){try{return sa(b,c),!0}catch(d){return!1}}:null},"es6");w("Promise",function(a){function b(){this.g=null}function c(f){return f instanceof e?f:new e(function(h){h(f)})}if(a)return a;b.prototype.h=function(f){if(null==this.g){this.g=[];var h=this;this.i(function(){h.o()})}this.g.push(f)};var d=ea.setTimeout;b.prototype.i=function(f){d(f,0)};b.prototype.o=function(){for(;this.g&&this.g.length;){var f=this.g;this.g=[];for(var h=0;h<f.length;++h){var k=f[h];f[h]=null;try{k()}catch(l){this.l(l)}}}this.g=null};b.prototype.l=function(f){this.i(function(){throw f;})};var e=function(f){this.h=0;this.i=void 0;this.g=[];this.T=!1;var h=this.l();try{f(h.resolve,h.reject)}catch(k){h.reject(k)}};e.prototype.l=function(){function f(l){return function(n){k||(k=!0,l.call(h,n))}}var h=this,k=!1;return{resolve:f(this.va),reject:f(this.o)}};e.prototype.va=function(f){if(f===this)this.o(new TypeError("A Promise cannot resolve to itself"));else if(f instanceof e)this.xa(f);else{a:switch(typeof f){case "object":var h=null!=f;break a;case "function":h=!0;break a;default:h=!1}h?this.ua(f):this.C(f)}};e.prototype.ua=function(f){var h=void 0;try{h=f.then}catch(k){this.o(k);return}"function"==typeof h?this.ya(h,f):this.C(f)};e.prototype.o=function(f){this.V(2,f)};e.prototype.C=function(f){this.V(1,f)};e.prototype.V=function(f,h){if(0!=this.h)throw Error("Cannot settle("+f+", "+h+"): Promise already settled in state"+this.h);this.h=f;this.i=h;2===this.h&&this.wa();this.La()};e.prototype.wa=function(){var f=this;d(function(){if(f.Ma()){var h=ea.console;"undefined"!==typeof h&&h.error(f.i)}},1)};e.prototype.Ma=function(){if(this.T)return!1;var f=ea.CustomEvent,h=ea.Event,k=ea.dispatchEvent;if("undefined"===typeof k)return!0;"function"===typeof f?f=new f("unhandledrejection",{cancelable:!0}):"function"===typeof h?f=new h("unhandledrejection",{cancelable:!0}):(f=ea.document.createEvent("CustomEvent"),f.initCustomEvent("unhandledrejection",!1,!0,f));f.promise=this;f.reason=this.i;return k(f)};e.prototype.La=function(){if(null!=this.g){for(var f=0;f<this.g.length;++f)g.h(this.g[f]);this.g=null}};var g=new b;e.prototype.xa=function(f){var h=this.l();f.Y(h.resolve,h.reject)};e.prototype.ya=function(f,h){var k=this.l();try{f.call(h,k.resolve,k.reject)}catch(l){k.reject(l)}};e.prototype.then=function(f,h){function k(t,r){return"function"==typeof t?function(u){try{l(t(u))}catch(z){n(z)}}:r}var l,n,p=new e(function(t,r){l=t;n=r});this.Y(k(f,l),k(h,n));return p};e.prototype.catch=function(f){return this.then(void 0,f)};e.prototype.Y=function(f,h){function k(){switch(l.h){case 1:f(l.i);break;case 2:h(l.i);break;default:throw Error("Unexpected state: "+l.h);}}var l=this;null==this.g?g.h(k):this.g.push(k);this.T=!0};e.resolve=c;e.reject=function(f){return new e(function(h,k){k(f)})};e.race=function(f){return new e(function(h,k){for(var l=y(f),n=l.next();!n.done;n=l.next())c(n.value).Y(h,k)})};e.all=function(f){var h=y(f),k=h.next();return k.done?c([]):new e(function(l,n){function p(u){return function(z){t[u]=z;r--;0==r&&l(t)}}var t=[],r=0;do t.push(void 0),r++,c(k.value).Y(p(t.length-1),n),k=h.next();while(!k.done)})};return e},"es6");w("Object.setPrototypeOf",function(a){return a||sa},"es6");w("WeakMap",function(a){function b(){}function c(f){var h=typeof f;return"object"===h&&null!==f||"function"===h}if(function(){if(!a||!Object.seal)return!1;try{var f=Object.seal({}),h=Object.seal({}),k=new a([[f,2],[h,3]]);if(2!=k.get(f)||3!=k.get(h))return!1;k.delete(f);k.set(h,4);return!k.has(f)&&4==k.get(h)}catch(l){return!1}}())return a;var d="$jscomp_hidden_"+Math.random(),e=0,g=function(f){this.g=(e+=Math.random()+1).toString();if(f){f=y(f);for(var h;!(h=f.next()).done;)h=h.value,this.set(h[0],h[1])}};g.prototype.set=function(f,h){if(!c(f))throw Error("Invalid WeakMap key");if(!la(f,d)){var k=new b;ca(f,d,{value:k})}if(!la(f,d))throw Error("WeakMap key fail: "+f);f[d][this.g]=h;return this};g.prototype.get=function(f){return c(f)&&la(f,d)?f[d][this.g]:void 0};g.prototype.has=function(f){return c(f)&&la(f,d)&&la(f[d],this.g)};g.prototype.delete=function(f){return c(f)&&la(f,d)&&la(f[d],this.g)?delete f[d][this.g]:!1};return g},"es6");w("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var h=Object.seal({x:4}),k=new a(y([[h,"s"]]));if("s"!=k.get(h)||1!=k.size||k.get({x:4})||k.set({x:4},"t")!=k||2!=k.size)return!1;var l=k.entries(),n=l.next();if(n.done||n.value[0]!=h||"s"!=n.value[1])return!1;n=l.next();return n.done||4!=n.value[0].x||"t"!=n.value[1]||!l.next().done?!1:!0}catch(p){return!1}}())return a;var b=new q.WeakMap,c=function(h){this[0]={};this[1]=g();this.size=0;if(h){h=y(h);for(var k;!(k=h.next()).done;)k=k.value,this.set(k[0],k[1])}};c.prototype.set=function(h,k){h=0===h?0:h;var l=d(this,h);l.list||(l.list=this[0][l.id]=[]);l.u?l.u.value=k:(l.u={next:this[1],F:this[1].F,head:this[1],key:h,value:k},l.list.push(l.u),this[1].F.next=l.u,this[1].F=l.u,this.size++);return this};c.prototype.delete=function(h){h=d(this,h);return h.u&&h.list?(h.list.splice(h.index,1),h.list.length||delete this[0][h.id],h.u.F.next=h.u.next,h.u.next.F=h.u.F,h.u.head=null,this.size--,!0):!1};c.prototype.clear=function(){this[0]={};this[1]=this[1].F=g();this.size=0};c.prototype.has=function(h){return!!d(this,h).u};c.prototype.get=function(h){return(h=d(this,h).u)&&h.value};c.prototype.entries=function(){return e(this,function(h){return[h.key,h.value]})};c.prototype.keys=function(){return e(this,function(h){return h.key})};c.prototype.values=function(){return e(this,function(h){return h.value})};c.prototype.forEach=function(h,k){for(var l=this.entries(),n;!(n=l.next()).done;)n=n.value,h.call(k,n[1],n[0],this)};c.prototype[v(q.Symbol,"iterator")]=c.prototype.entries;var d=function(h,k){var l=k&&typeof k;"object"==l||"function"==l?b.has(k)?l=b.get(k):(l=""+ ++f,b.set(k,l)):l="p_"+k;var n=h[0][l];if(n&&la(h[0],l))for(h=0;h<n.length;h++){var p=n[h];if(k!==k&&p.key!==p.key||k===p.key)return{id:l,list:n,index:h,u:p}}return{id:l,list:n,index:-1,u:void 0}},e=function(h,k){var l=h[1];return ia(function(){if(l){for(;l.head!=h[1];)l=l.F;for(;l.next!=l.head;)return l=l.next,{done:!1,value:k(l)};l=null}return{done:!0,value:void 0}})},g=function(){var h={};return h.F=h.next=h.head=h},f=0;return c},"es6");w("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||Infinity===b||-Infinity===b||0===b)return b;var c=Math.floor(Math.abs(b));return 0>b?-c:c}},"es6");w("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)la(b,d)&&c.push(b[d]);return c}},"es8");w("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}},"es6");w("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var g=d[c];if(g===b||v(Object,"is").call(Object,g,b))return!0}return!1}},"es7");var Fa=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};w("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==Fa(this,b,"includes").indexOf(b,c||0)}},"es6");w("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991},"es6");w("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}},"es6");w("Number.isInteger",function(a){return a?a:function(b){return v(Number,"isFinite").call(Number,b)?b===Math.floor(b):!1}},"es6");w("Number.isSafeInteger",function(a){return a?a:function(b){return v(Number,"isInteger").call(Number,b)&&Math.abs(b)<=v(Number,"MAX_SAFE_INTEGER")}},"es6");w("Number.isNaN",function(a){return a?a:function(b){return"number"===typeof b&&isNaN(b)}},"es6");var Ga=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var g=c++;return{value:b(g,a[g]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[v(q.Symbol,"iterator")]=function(){return e};return e};w("Array.prototype.values",function(a){return a?a:function(){return Ga(this,function(b,c){return c})}},"es8");w("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(h){return h};var e=[],g="undefined"!=typeof q.Symbol&&v(q.Symbol,"iterator")&&b[v(q.Symbol,"iterator")];if("function"==typeof g){b=g.call(b);for(var f=0;!(g=b.next()).done;)e.push(c.call(d,g.value,f++))}else for(g=b.length,f=0;f<g;f++)e.push(c.call(d,b[f],f));return e}},"es6");w("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Fa(this,b,"startsWith"),e=d.length,g=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var f=0;f<g&&c<e;)if(d[c++]!=b[f++])return!1;return f>=g}},"es6");/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Ha=this||self,Ia=function(a,b){a:{var c=["CLOSURE_FLAGS"];for(var d=Ha,e=0;e<c.length;e++)if(d=d[c[e]],null==d){c=null;break a}c=d}a=c&&c[a];return null!=a?a:b};function Ja(){throw Error("Invalid UTF8");}function Ka(a,b){b=String.fromCharCode.apply(null,b);return null==a?b:a+b}var La=void 0,Ma,Na="undefined"!==typeof TextDecoder,Oa,Pa="undefined"!==typeof TextEncoder;function Ra(a){Ha.setTimeout(function(){throw a;},0)};var Sa=Ia(610401301,!1),Ta=Ia(572417392,Ia(1,!0));var Ua,Va=Ha.navigator;Ua=Va?Va.userAgentData||null:null;function Wa(a){return Sa?Ua?Ua.brands.some(function(b){return(b=b.brand)&&-1!=b.indexOf(a)}):!1:!1}function D(a){var b;a:{if(b=Ha.navigator)if(b=b.userAgent)break a;b=""}return-1!=b.indexOf(a)};function Xa(){return Sa?!!Ua&&0<Ua.brands.length:!1}function Ya(){return Xa()?Wa("Chromium"):(D("Chrome")||D("CriOS"))&&!(Xa()?0:D("Edge"))||D("Silk")};var Za=function(a){Za[" "](a);return a};Za[" "]=function(){};var $a=Xa()?!1:D("Trident")||D("MSIE");!D("Android")||Ya();Ya();D("Safari")&&(Ya()||(Xa()?0:D("Coast"))||(Xa()?0:D("Opera"))||(Xa()?0:D("Edge"))||(Xa()?Wa("Microsoft Edge"):D("Edg/"))||Xa()&&Wa("Opera"));var ab={},bb=null,db=function(a,b){void 0===b&&(b=0);cb();b=ab[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,g=0;e<a.length-2;e+=3){var f=a[e],h=a[e+1],k=a[e+2],l=b[f>>2];f=b[(f&3)<<4|h>>4];h=b[(h&15)<<2|k>>6];k=b[k&63];c[g++]=l+f+h+k}l=0;k=d;switch(a.length-e){case 2:l=a[e+1],k=b[(l&15)<<2]||d;case 1:a=a[e],c[g]=b[a>>2]+b[(a&3)<<4|l>>4]+k+d}return c.join("")},fb=function(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):-1!="=.".indexOf(a[b-1])&&(c=-1!="=.".indexOf(a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;eb(a,function(g){d[e++]=g});return e!==c?d.subarray(0,e):d},eb=function(a,b){function c(k){for(;d<a.length;){var l=a.charAt(d++),n=bb[l];if(null!=n)return n;if(!/^[\s\xa0]*$/.test(l))throw Error("Unknown base64 encoding at char: "+l);}return k}cb();for(var d=0;;){var e=c(-1),g=c(0),f=c(64),h=c(64);if(64===h&&-1===e)break;b(e<<2|g>>4);64!=f&&(b(g<<4&240|f>>2),64!=h&&b(f<<6&192|h))}},cb=function(){if(!bb){bb={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));ab[c]=d;for(var e=0;e<d.length;e++){var g=d[e];void 0===bb[g]&&(bb[g]=e)}}}};var gb="undefined"!==typeof Uint8Array,hb=!$a&&"function"===typeof btoa;function ib(a){if(!hb)return db(a);for(var b="",c=0,d=a.length-10240;c<d;)b+=String.fromCharCode.apply(null,a.subarray(c,c+=10240));b+=String.fromCharCode.apply(null,c?a.subarray(c):a);return btoa(b)}var jb=/[-_.]/g,kb={"-":"+",_:"/",".":"="};function lb(a){return kb[a]||""}function nb(a){if(!hb)return fb(a);jb.test(a)&&(a=a.replace(jb,lb));a=atob(a);for(var b=new Uint8Array(a.length),c=0;c<a.length;c++)b[c]=a.charCodeAt(c);return b}function ob(a){return gb&&null!=a&&a instanceof Uint8Array}var qb;function rb(){return qb||(qb=new Uint8Array(0))}var sb={};var tb;function ub(a){if(a!==sb)throw Error("illegal external caller");}var vb=function(a,b){ub(b);this.ca=a;if(null!=a&&0===a.length)throw Error("ByteString should be constructed with non-empty values");},wb=function(){return tb||(tb=new vb(null,sb))},xb=function(a){ub(sb);var b=a.ca;b=null==b||ob(b)?b:"string"===typeof b?nb(b):null;return null==b?b:a.ca=b};function yb(a,b){return Error("Invalid wire type: "+a+" (at position "+b+")")}function zb(){return Error("Failed to read varint, encoding is invalid.")}function Ab(a,b){return Error("Tried to read past the end of the data "+b+" > "+a)};function Bb(a){return 0==a.length?wb():new vb(a,sb)};function Cb(a){if("string"===typeof a)return{buffer:nb(a),N:!1};if(Array.isArray(a))return{buffer:new Uint8Array(a),N:!1};if(a.constructor===Uint8Array)return{buffer:a,N:!1};if(a.constructor===ArrayBuffer)return{buffer:new Uint8Array(a),N:!1};if(a.constructor===vb)return{buffer:xb(a)||rb(),N:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),N:!1};throw Error("Type not convertible to a Uint8Array, expected a Uint8Array, an ArrayBuffer, a base64 encoded string, a ByteString or an Array of numbers");};function Db(){return"function"===typeof BigInt}var Eb=!Ta,Fb=!Ta;var Gb="function"===typeof Uint8Array.prototype.slice,E=0,Hb=0;function Ib(a){var b=0>a;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);b&&(c=y(Jb(c,a)),b=c.next().value,a=c.next().value,c=b);E=c>>>0;Hb=a>>>0}function Kb(a,b){b>>>=0;a>>>=0;if(2097151>=b)var c=""+(4294967296*b+a);else Db()?c=""+(BigInt(b)<<BigInt(32)|BigInt(a)):(c=(a>>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+6777216*c+6710656*b,c+=8147497*b,b*=2,1E7<=a&&(c+=Math.floor(a/1E7),a%=1E7),1E7<=c&&(b+=Math.floor(c/1E7),c%=1E7),c=b+Lb(c)+Lb(a));return c}function Lb(a){a=String(a);return"0000000".slice(a.length)+a}function Mb(){var a=E,b=Hb;b&2147483648?Db()?a=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):(b=y(Jb(a,b)),a=b.next().value,b=b.next().value,a="-"+Kb(a,b)):a=Kb(a,b);return a}function Nb(a){if(16>a.length)Ib(Number(a));else if(Db())a=BigInt(a),E=Number(a&BigInt(4294967295))>>>0,Hb=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+("-"===a[0]);Hb=E=0;for(var c=a.length,d=b,e=(c-b)%6+b;e<=c;d=e,e+=6)d=Number(a.slice(d,e)),Hb*=1E6,E=1E6*E+d,4294967296<=E&&(Hb+=v(Math,"trunc").call(Math,E/4294967296),Hb>>>=0,E>>>=0);b&&(b=y(Jb(E,Hb)),a=b.next().value,b=b.next().value,E=a,Hb=b)}}function Jb(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};var Pb=function(a,b){this.i=null;this.o=!1;this.g=this.h=this.l=0;Ob(this,a,b)},Ob=function(a,b,c){c=void 0===c?{}:c;a.X=void 0===c.X?!1:c.X;b&&(b=Cb(b),a.i=b.buffer,a.o=b.N,a.l=0,a.h=a.i.length,a.g=a.l)};Pb.prototype.clear=function(){this.i=null;this.o=!1;this.g=this.h=this.l=0;this.X=!1};var Qb=function(a,b){a.g=b;if(b>a.h)throw Ab(a.h,b);},Rb=function(a){var b=a.i,c=a.g,d=b[c++],e=d&127;if(d&128&&(d=b[c++],e|=(d&127)<<7,d&128&&(d=b[c++],e|=(d&127)<<14,d&128&&(d=b[c++],e|=(d&127)<<21,d&128&&(d=b[c++],e|=d<<28,d&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128)))))throw zb();Qb(a,c);return e},Sb=function(a,b){if(0>b)throw Error("Tried to read a negative byte length: "+b);var c=a.g,d=c+b;if(d>a.h)throw Ab(b,a.h-c);a.g=d;return c},Tb=function(a,b){if(0==b)return wb();var c=Sb(a,b);a.X&&a.o?c=a.i.subarray(c,c+b):(a=a.i,b=c+b,c=c===b?rb():Gb?a.slice(c,b):new Uint8Array(a.subarray(c,b)));return Bb(c)},Ub=[];var Wb=function(a,b){if(Ub.length){var c=Ub.pop();Ob(c,a,b);a=c}else a=new Pb(a,b);this.g=a;this.i=this.g.g;this.h=this.l=-1;Vb(this,b)},Vb=function(a,b){b=void 0===b?{}:b;a.ga=void 0===b.ga?!1:b.ga},Xb=function(a){var b=a.g;if(b.g==b.h)return!1;a.i=a.g.g;var c=Rb(a.g)>>>0;b=c>>>3;c&=7;if(!(0<=c&&5>=c))throw yb(c,a.i);if(1>b)throw Error("Invalid field number: "+b+" (at position "+a.i+")");a.l=b;a.h=c;return!0},Yb=function(a){switch(a.h){case 0:if(0!=a.h)Yb(a);else{a=a.g;a:{for(var b=a.g,c=b+10,d=a.i;b<c;)if(0===(d[b++]&128)){Qb(a,b);break a}throw zb();}}break;case 1:a=a.g;Qb(a,a.g+8);break;case 2:2!=a.h?Yb(a):(b=Rb(a.g)>>>0,a=a.g,Qb(a,a.g+b));break;case 5:a=a.g;Qb(a,a.g+4);break;case 3:b=a.l;do{if(!Xb(a))throw Error("Unmatched start-group tag: stream EOF");if(4==a.h){if(a.l!=b)throw Error("Unmatched end-group tag");break}Yb(a)}while(1);break;default:throw yb(a.h,a.i);}},Zb=function(a,b,c){var d=a.g.h,e=Rb(a.g)>>>0,g=a.g.g+e,f=g-d;0>=f&&(a.g.h=g,c(b,a,void 0,void 0,void 0),f=g-a.g.g);if(f)throw Error("Message parsing ended unexpectedly. Expected to read "+(e+" bytes, instead read "+(e-f)+" bytes, either the data ended unexpectedly or the message misreported its own length"));a.g.g=g;a.g.h=d},$b=[];var ac=function(a,b){this.h=a>>>0;this.g=b>>>0},cc=function(a){if(!a)return bc||(bc=new ac(0,0));if(!/^-?\d+$/.test(a))return null;Nb(a);return new ac(E,Hb)},bc;var dc=function(){this.g=[]};dc.prototype.length=function(){return this.g.length};dc.prototype.end=function(){var a=this.g;this.g=[];return a};var ec=function(a,b,c){for(;0<c||127<b;)a.g.push(b&127|128),b=(b>>>7|c<<25)>>>0,c>>>=7;a.g.push(b)},fc=function(a,b){for(;127<b;)a.g.push(b&127|128),b>>>=7;a.g.push(b)};var gc=function(){this.i=[];this.h=0;this.g=new dc},hc=function(a,b){0!==b.length&&(a.i.push(b),a.h+=b.length)},ic=function(a,b){hc(a,a.g.end());hc(a,b)},jc=function(a,b){fc(a.g,8*b+2);b=a.g.end();hc(a,b);b.push(a.h);return b},kc=function(a,b){var c=b.pop();for(c=a.h+a.g.length()-c;127<c;)b.push(c&127|128),c>>>=7,a.h++;b.push(c);a.h++},lc=function(a){hc(a,a.g.end());for(var b=new Uint8Array(a.h),c=a.i,d=c.length,e=0,g=0;g<d;g++){var f=c[g];b.set(f,e);e+=f.length}a.i=[b];return b},mc=function(a,b,c,d){null!=c&&(b=jc(a,b),d(c,a),kc(a,b))},oc=function(a,b,c){var d=nc;if(null!=c)for(var e=0;e<c.length;e++){var g=jc(a,b);d(c[e],a);kc(a,g)}};var pc=function(a,b,c){this.g=a;this.h=b;this.ta=c};function qc(a){return Array.prototype.slice.call(a)};var rc="function"===typeof q.Symbol&&"symbol"===typeof(0,q.Symbol)()?(0,q.Symbol)():void 0,sc=rc?function(a,b){a[rc]|=b}:function(a,b){void 0!==a.I?a.I|=b:Object.defineProperties(a,{I:{value:b,configurable:!0,writable:!0,enumerable:!1}})};function tc(a){var b=F(a);1!==(b&1)&&(Object.isFrozen(a)&&(a=qc(a)),G(a,b|1))}function H(a,b,c){return c?a|b:a&~b}var F=rc?function(a){return a[rc]|0}:function(a){return a.I|0},I=rc?function(a){return a[rc]}:function(a){return a.I},G=rc?function(a,b){a[rc]=b}:function(a,b){void 0!==a.I?a.I=b:Object.defineProperties(a,{I:{value:b,configurable:!0,writable:!0,enumerable:!1}})};function uc(){var a=[];sc(a,1);return a}function vc(a,b){G(b,(a|0)&-14591)}function wc(a,b){G(b,(a|34)&-14557)}function xc(a){a=a>>14&1023;return 0===a?536870912:a};var yc={},zc={};function Ac(a){return!(!a||"object"!==typeof a||a.Na!==zc)}function Bc(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object}var Cc,Dc=!Ta;function Ec(a,b,c){if(null!=a)if("string"===typeof a)a=a?new vb(a,sb):wb();else if(a.constructor!==vb)if(ob(a))a=c?Bb(a):a.length?new vb(new Uint8Array(a),sb):wb();else{if(!b)throw Error();a=void 0}return a}function Fc(a,b,c){if(!Array.isArray(a)||a.length)return!1;var d=F(a);if(d&1)return!0;if(!(b&&(Array.isArray(b)?v(b,"includes").call(b,c):b.has(c))))return!1;G(a,d|1);return!0}var Gc,Hc=[];G(Hc,55);Gc=Object.freeze(Hc);function Ic(a){if(a&2)throw Error();}var Jc;function Kc(a,b){(b=Jc?b[Jc]:void 0)&&(a[Jc]=qc(b))}var Lc;var Mc=function(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};function Nc(){var a=Error();Mc(a,"incident");Ra(a)}function Oc(a){a=Error(a);Mc(a,"warning");return a};var Pc=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function Qc(a){var b=typeof a;return"number"===b?v(Number,"isFinite").call(Number,a):"string"!==b?!1:Pc.test(a)}function Rc(a){null!=a&&(v(Number,"isFinite").call(Number,a)||Nc());return a}function Sc(a){if(null==a)return a;if("string"===typeof a){if(!a)return;a=+a}if("number"===typeof a)return a}function Tc(a){if(null==a)return a;if("string"===typeof a){if(!a)return;a=+a}if("number"===typeof a)return a}function Uc(a){var b=!!b;if(!Qc(a))throw Oc("int64");"string"===typeof a?b=Vc(a,b):b?(a=v(Math,"trunc").call(Math,a),!b||v(Number,"isSafeInteger").call(Number,a)?b=String(a):(b=String(a),Wc(b)||(Ib(a),b=Mb()))):b=Xc(a);return b}function Wc(a){return"-"===a[0]?20>a.length?!0:20===a.length&&-922337<Number(a.substring(0,7)):19>a.length?!0:19===a.length&&922337>Number(a.substring(0,6))}function Xc(a){return a=v(Math,"trunc").call(Math,a)}function Vc(a,b){var c=v(Math,"trunc").call(Math,Number(a));if(v(Number,"isSafeInteger").call(Number,c))return String(c);c=a.indexOf(".");-1!==c&&(a=a.substring(0,c));b&&(Wc(a)||(Nb(a),a=Mb()));return a}function Yc(a){if(null!=a&&"string"!==typeof a)throw Error();return a}function Zc(a,b,c){if(null!=a&&"object"===typeof a&&a.ba===yc)return a;if(Array.isArray(a)){var d=F(a),e=d;0===e&&(e|=c&32);e|=c&2;e!==d&&G(a,e);return new b(a)}};var $c;function ad(a,b){$c=b;a=new a(b);$c=void 0;return a}var bd,cd;function dd(a){switch(typeof a){case "boolean":return bd||(bd=[0,void 0,!0]);case "number":return 0<a?void 0:0===a?cd||(cd=[0,void 0]):[-a,void 0];case "string":return[0,a];case "object":return a}}function K(a,b,c){null==a&&(a=$c);$c=void 0;if(null==a){var d=96;c?(a=[c],d|=512):a=[];b&&(d=d&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error();d=F(a);if(d&64)return Lc&&delete a[Lc],a;d|=64;if(c&&(d|=512,c!==a[0]))throw Error();a:{c=d;if(d=a.length){var e=d-1;if(Bc(a[e])){c|=256;b=e-(+!!(c&512)-1);if(1024<=b)throw Error();d=c&-16760833|(b&1023)<<14;break a}}if(b){b=Math.max(b,d-(+!!(c&512)-1));if(1024<b)throw Error();d=c&-16760833|(b&1023)<<14}else d=c}}G(a,d);return a};function ed(a,b){return fd(b)}function fd(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "boolean":return a?1:0;case "object":if(a){if(Array.isArray(a))return Dc||!Fc(a,void 0,9999)?a:void 0;if(ob(a))return ib(a);if(a instanceof vb){var b=a.ca;return null==b?"":"string"===typeof b?b:a.ca=ib(b)}}}return a};function gd(a,b,c){var d=qc(a),e=d.length,g=b&256?d[e-1]:void 0;e+=g?-1:0;for(b=b&512?1:0;b<e;b++)d[b]=c(d[b]);if(g){b=d[b]={};for(var f in g)Object.prototype.hasOwnProperty.call(g,f)&&(b[f]=c(g[f]))}Kc(d,a);return d}function hd(a,b,c,d,e,g){if(null!=a){if(Array.isArray(a))a=e&&0==a.length&&F(a)&1?void 0:g&&F(a)&2?a:id(a,b,c,void 0!==d,e,g);else if(Bc(a)){var f={},h;for(h in a)Object.prototype.hasOwnProperty.call(a,h)&&(f[h]=hd(a[h],b,c,d,e,g));a=f}else a=b(a,d);return a}}function id(a,b,c,d,e,g){var f=d||c?F(a):0;d=d?!!(f&32):void 0;for(var h=qc(a),k=0;k<h.length;k++)h[k]=hd(h[k],b,c,d,e,g);c&&(Kc(h,a),c(f,h));return h}function jd(a){return a.ba===yc?a.toJSON():fd(a)};function kd(a,b,c){c=void 0===c?wc:c;if(null!=a){if(gb&&a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=F(a);if(d&2)return a;b&&(b=0===d||!!(d&32)&&!(d&64||!(d&16)));return b?(G(a,(d|34)&-12293),a):id(a,kd,d&4?wc:c,!0,!1,!0)}a.ba===yc&&(c=a.j,d=I(c),a=d&2?a:ad(a.constructor,ld(c,d,!0)));return a}}function ld(a,b,c){var d=c||b&2?wc:vc,e=!!(b&32);a=gd(a,b,function(g){return kd(g,e,d)});sc(a,32|(c?2:0));return a}function md(a){var b=a.j,c=I(b);return c&2?ad(a.constructor,ld(b,c,!1)):a};Object.freeze({});var od=function(a,b){a=a.j;return nd(a,I(a),b)},nd=function(a,b,c,d){if(-1===c)return null;if(c>=xc(b)){if(b&256)return a[a.length-1][c]}else{var e=a.length;if(d&&b&256&&(d=a[e-1][c],null!=d))return d;b=c+(+!!(b&512)-1);if(b<e)return a[b]}};function L(a,b,c,d,e){var g=xc(b);if(c>=g||e){e=b;if(b&256)g=a[a.length-1];else{if(null==d)return e;g=a[g+(+!!(b&512)-1)]={};e|=256}g[c]=d;e!==b&&G(a,e);return e}a[c+(+!!(b&512)-1)]=d;b&256&&(a=a[a.length-1],c in a&&delete a[c]);return b}var M=function(a,b){a=a.j;var c=I(a),d=nd(a,c,b),e=Ec(d,!0,!!(c&34));null!=e&&e!==d&&L(a,c,b,e);return null==e?wb():e};function N(a,b,c,d){var e=a.j,g=I(e);Ic(g);L(e,g,b,("0"===d?0===Number(c):c===d)?void 0:c);return a}var pd=function(a,b,c,d){var e=I(a);Ic(e);var g=nd(a,e,c,d),f;if(null!=g&&g.ba===yc)return b=md(g),b!==g&&L(a,e,c,b,d),b.j;if(Array.isArray(g)){var h=F(g);h&2?f=ld(g,h,!1):f=g;f=K(f,b[0],b[1])}else f=K(void 0,b[0],b[1]);f!==g&&L(a,e,c,f,d);return f},O=function(a,b,c){var d=void 0===d?!1:d;var e=a.j;var g=I(e),f=nd(e,g,c,d);b=Zc(f,b,g);b!==f&&null!=b&&L(e,g,c,b,d);e=b;if(null==e)return e;a=a.j;g=I(a);g&2||(f=md(e),f!==e&&(e=f,L(a,g,c,e,d)));return e},sd=function(a){a=a.j;var b=I(a),c=!!(2&b),d=b,e=c?1:2,g=qd;b=1===e;e=2===e;var f=!!(2&d)&&e,h=d&2;var k=nd(a,d,2);Array.isArray(k)||(k=Gc);var l=F(k);0===l&&d&32&&!h?(l|=33,G(k,l)):l&1||(l|=1,G(k,l));h&&(d=!1,l&2||(sc(k,34),d=!!(4&l)),d&&Object.freeze(k));d=I(a);var n=F(k),p=!!(2&n);l=!!(4&n);h=!!(32&n);var t=p&&l||!!(2048&n);if(!l){var r=k,u=d,z=!!(2&n);z&&(u=H(u,2,!0));for(var x=!z,J=!0,W=0,mb=0;W<r.length;W++){var Ca=Zc(r[W],g,u);if(Ca instanceof g){if(!z){var Qa=!!(F(Ca.j)&2);x&&(x=!Qa);J&&(J=Qa)}r[mb++]=Ca}}mb<W&&(r.length=mb);n=H(n,4,!0);n=H(n,16,J);n=H(n,8,x);G(r,n);p&&!f&&(Object.freeze(k),t=!0)}g=n;f=!!(8&n)||b&&!k.length;if(!c&&!f){t&&(k=qc(k),t=!1,g=0,n=rd(n,d,!1),d=L(a,d,2,k));c=k;f=n;for(p=0;p<c.length;p++)r=c[p],n=md(r),r!==n&&(c[p]=n);f=H(f,8,!0);n=f=H(f,16,!c.length)}t||(b?n=H(n,!k.length||16&n&&(!l||h)?2:2048,!0):n=H(n,32,!1),n!==g&&G(k,n),b&&(Object.freeze(k),t=!0));e&&t&&(k=qc(k),n=rd(n,d,!1),G(k,n),L(a,d,2,k));return k},td=function(a,b,c){null==c&&(c=void 0);var d=a.j,e=I(d);Ic(e);L(d,e,b,c);return a};function rd(a,b,c){a=H(a,2,!!(2&b));a=H(a,32,!!(32&b)&&c);return a=H(a,2048,!1)}var P=function(a,b){var c=void 0===c?0:c;a=Tc(od(a,b));return null!=a?a:c},Q=function(a,b){a=od(a,b);a=null==a||"string"===typeof a?a:void 0;return null!=a?a:""},R=function(a,b){a=od(a,b);return null!=a?a:0},ud=function(a,b,c){if(null!=c){if("number"!==typeof c)throw Oc("uint32");v(Number,"isFinite").call(Number,c)||Nc()}return N(a,b,c,0)},vd=function(a,b,c){return N(a,b,Ec(c,!1,!1),wb())};var S=function(a,b,c){this.j=K(a,b,c)};S.prototype.toJSON=function(){if(Cc)var a=wd(this,this.j,!1);else a=id(this.j,jd,void 0,void 0,!1,!1),a=wd(this,a,!0);return a};var xd=function(a){Cc=!0;try{return JSON.stringify(a.toJSON(),ed)}finally{Cc=!1}};S.prototype.N=function(){return!!(F(this.j)&2)};S.prototype.ba=yc;S.prototype.toString=function(){return wd(this,this.j,!1).toString()};function wd(a,b,c){var d=a.constructor.ra,e=I(c?a.j:b),g=xc(e),f=!1;if(d&&Dc){if(!c){b=qc(b);var h;if(b.length&&Bc(h=b[b.length-1]))for(f=0;f<d.length;f++)if(d[f]>=g){v(Object,"assign").call(Object,b[b.length-1]={},h);break}f=!0}g=b;c=!c;h=I(a.j);a=xc(h);h=+!!(h&512)-1;for(var k,l,n=0;n<d.length;n++)if(l=d[n],l<a){l+=h;var p=g[l];null==p?g[l]=c?Gc:uc():c&&p!==Gc&&tc(p)}else k||(p=void 0,g.length&&Bc(p=g[g.length-1])?k=p:g.push(k={})),p=k[l],null==k[l]?k[l]=c?Gc:uc():c&&p!==Gc&&tc(p)}k=b.length;if(!k)return b;var t;if(Bc(g=b[k-1])){a:{var r=g;c={};a=!1;for(var u in r)if(Object.prototype.hasOwnProperty.call(r,u)){h=r[u];if(Array.isArray(h)){n=h;if(!Fb&&Fc(h,d,+u)||!Eb&&Ac(h)&&0===h.size)h=null;h!=n&&(a=!0)}null!=h?c[u]=h:a=!0}if(a){for(var z in c){r=c;break a}r=null}}r!=g&&(t=!0);k--}for(e=+!!(e&512)-1;0<k;k--){u=k-1;g=b[u];if(!(null==g||!Fb&&Fc(g,d,u-e)||!Eb&&Ac(g)&&0===g.size))break;var x=!0}if(!t&&!x)return b;var J;f?J=b:J=Array.prototype.slice.call(b,0,k);b=J;f&&(b.length=k);r&&b.push(r);return b};function yd(a){return Array.isArray(a)?a[0]instanceof pc?a:[zd,a]:[a,void 0]}var Ad=(0,q.Symbol)();function Bd(a){var b=a[Ad];if(!b){var c=Cd(a),d=Dd(a),e=d.g;b=e?function(g,f){return e(g,f,d)}:function(g,f){for(;Xb(f)&&4!=f.h;){var h=f.l,k=d[h];if(!k){var l=d.la;l&&(l=l[h])&&(k=d[h]=Ed(l))}k&&k(f,g,h)||(k=f,h=k.i,Yb(k),k.ga?k=void 0:(l=k.g.g-h,k.g.g=h,k=Tb(k.g,l)),h=g,k&&(Jc||(Jc=(0,q.Symbol)()),(l=h[Jc])?l.push(k):h[Jc]=[k]))}c===Fd||c===Gd||c.Fa||(g[Lc||(Lc=(0,q.Symbol)())]=c)};a[Ad]=b}return b}function Ed(a){a=yd(a);var b=a[0].g;if(a=a[1]){var c=Bd(a),d=Dd(a).R;return function(e,g,f){return b(e,g,f,d,c)}}return b}var Fd,Gd,Hd=(0,q.Symbol)();function Id(a,b,c){var d=c[1];if(d){var e=d[Hd];var g=e?e.R:dd(d[0]);a[b]=null!=e?e:d}g&&g===bd?(a.oa||(a.oa=[])).push(b):c[0]&&(a.qa||(a.qa=[])).push(b)}function Jd(a,b){return[!1,!b||0<b[0]?void 0:b]}function Cd(a){var b=a[Hd];if(b)return b;b=Kd(a,a[Hd]={},Jd,Jd,Id);if(!b.qa&&!b.oa){var c=!0,d;for(d in b){isNaN(d)||(c=!1);break}c?(b=dd(a[0])===bd,b=a[Hd]=b?Gd||(Gd={R:dd(!0)}):Fd||(Fd={})):b.Fa=!0}return b}function Ld(a,b,c){a[b]=c}function Kd(a,b,c,d,e){e=void 0===e?Ld:e;b.R=dd(a[0]);var g=0,f=a[++g];f&&f.constructor===Object&&(b.la=f,f=a[++g],"function"===typeof f&&(b.g=f,b.h=a[++g],f=a[++g]));for(var h={};Array.isArray(f)&&"number"===typeof f[0]&&0<f[0];){for(var k=0;k<f.length;k++)h[f[k]]=f;f=a[++g]}for(k=1;void 0!==f;){"number"===typeof f&&(k+=f,f=a[++g]);var l=void 0;if(f instanceof pc)var n=f;else n=Md,g--;if(n.ta){f=a[++g];l=a;var p=g;"function"==typeof f&&(f=f(),l[p]=f);l=f}f=a[++g];p=k+1;"number"===typeof f&&0>f&&(p-=f,f=a[++g]);for(;k<p;k++){var t=h[k];e(b,k,l?d(n,l,t):c(n,t))}}return b}var Nd=(0,q.Symbol)();function Od(a){var b=a[Nd];if(!b){var c=Pd(a);b=function(d,e){return Qd(d,e,c)};a[Nd]=b}return b}var Rd=(0,q.Symbol)();function Sd(a){return a.h}function Td(a,b){var c,d,e=a.h;return function(g,f,h){return e(g,f,h,d||(d=Pd(b).R),c||(c=Od(b)))}}function Pd(a){var b=a[Rd];if(b)return b;b=Kd(a,a[Rd]={},Sd,Td);Ud in a&&Rd in a&&(a.length=0);return b}var Ud=(0,q.Symbol)();function Vd(a,b){var c=a.g;return b?function(d,e,g){return c(d,e,g,b)}:c}function Wd(a,b,c){var d=a.g,e,g;return function(f,h,k){return d(f,h,k,g||(g=Dd(b).R),e||(e=Bd(b)),c)}}function Dd(a){var b=a[Ud];if(b)return b;Cd(a);b=Kd(a,a[Ud]={},Vd,Wd);Ud in a&&Rd in a&&(a.length=0);return b}function Xd(a,b){var c=a[b];if(c)return c;if(c=a.la)if(c=c[b]){c=yd(c);var d=c[0].h;if(c=c[1]){var e=Od(c),g=Pd(c).R;c=(c=a.h)?c(g,e):function(f,h,k){return d(f,h,k,g,e)}}else c=d;return a[b]=c}}function Qd(a,b,c){for(var d=I(a),e=+!!(d&512)-1,g=a.length,f=g+(d&256?-1:0),h=d&512?1:0;h<f;h++){var k=a[h];if(null!=k){var l=h-e,n=Xd(c,l);n&&n(b,k,l)}}if(d&256){d=a[g-1];for(var p in d)Object.prototype.hasOwnProperty.call(d,p)&&(e=+p,v(Number,"isNaN").call(Number,e)||(g=d[p],null!=g&&(f=Xd(c,e))&&f(b,g,e)))}if(a=Jc?a[Jc]:void 0)for(hc(b,b.g.end()),c=0;c<a.length;c++)hc(b,xb(a[c])||rb())}var Yd=function(a,b){var c=new gc;Qd(a.j,c,Pd(b));return lc(c)};function Zd(a,b){return new pc(a,b,!1)}function $d(a,b,c,d,e){mc(a,c,b instanceof S?b.j:Array.isArray(b)?K(b,d[0],d[1]):void 0,e)}var ae=Zd(function(a,b,c){if(0!==a.h)return!1;var d=a.g,e=0,g=a=0,f=d.i,h=d.g;do{var k=f[h++];e|=(k&127)<<g;g+=7}while(32>g&&k&128);32<g&&(a|=(k&127)>>4);for(g=3;32>g&&k&128;g+=7)k=f[h++],a|=(k&127)<<g;Qb(d,h);if(128>k){d=e>>>0;k=a>>>0;if(a=k&2147483648)d=~d+1>>>0,k=~k>>>0,0==d&&(k=k+1>>>0);d=4294967296*k+(d>>>0)}else throw zb();a=a?-d:d;L(b,I(b),c,0===a?void 0:a);return!0},function(a,b,c){a:if(null!=b){if(Qc(b)){if("string"===typeof b){b=Vc(b,!1);break a}if("number"===typeof b){b=Xc(b);break a}}b=void 0}null!=b&&("string"===typeof b&&cc(b),null!=b&&(fc(a.g,8*c),"number"===typeof b?(a=a.g,Ib(b),ec(a,E,Hb)):(c=cc(b),ec(a.g,c.h,c.g))))}),be=Zd(function(a,b,c){if(2!==a.h)return!1;var d=Rb(a.g)>>>0;a=a.g;var e=Sb(a,d);a=a.i;if(Na){var g=a;var f;(f=Ma)||(f=Ma=new TextDecoder("utf-8",{fatal:!0}));a=e+d;g=0===e&&a===g.length?g:g.subarray(e,a);try{var h=f.decode(g)}catch(p){if(void 0===La){try{f.decode(new Uint8Array([128]))}catch(t){}try{f.decode(new Uint8Array([97])),La=!0}catch(t){La=!1}}!La&&(Ma=void 0);throw p;}}else{h=e;d=h+d;e=[];for(var k=null,l,n;h<d;)l=a[h++],128>l?e.push(l):224>l?h>=d?Ja():(n=a[h++],194>l||128!==(n&192)?(h--,Ja()):e.push((l&31)<<6|n&63)):240>l?h>=d-1?Ja():(n=a[h++],128!==(n&192)||224===l&&160>n||237===l&&160<=n||128!==((g=a[h++])&192)?(h--,Ja()):e.push((l&15)<<12|(n&63)<<6|g&63)):244>=l?h>=d-2?Ja():(n=a[h++],128!==(n&192)||0!==(l<<28)+(n-144)>>30||128!==((g=a[h++])&192)||128!==((f=a[h++])&192)?(h--,Ja()):(l=(l&7)<<18|(n&63)<<12|(g&63)<<6|f&63,l-=65536,e.push((l>>10&1023)+55296,(l&1023)+56320))):Ja(),8192<=e.length&&(k=Ka(k,e),e.length=0);h=Ka(k,e)}g=h;L(b,I(b),c,""===g?void 0:g);return!0},function(a,b,c){b=null==b||"string"===typeof b?b:void 0;if(null!=b){var d=!1;d=void 0===d?!1:d;if(Pa){if(d&&/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(b))throw Error("Found an unpaired surrogate");b=(Oa||(Oa=new TextEncoder)).encode(b)}else{for(var e=0,g=new Uint8Array(3*b.length),f=0;f<b.length;f++){var h=b.charCodeAt(f);if(128>h)g[e++]=h;else{if(2048>h)g[e++]=h>>6|192;else{if(55296<=h&&57343>=h){if(56319>=h&&f<b.length){var k=b.charCodeAt(++f);if(56320<=k&&57343>=k){h=1024*(h-55296)+k-56320+65536;g[e++]=h>>18|240;g[e++]=h>>12&63|128;g[e++]=h>>6&63|128;g[e++]=h&63|128;continue}else f--}if(d)throw Error("Found an unpaired surrogate");h=65533}g[e++]=h>>12|224;g[e++]=h>>6&63|128}g[e++]=h&63|128}}b=e===g.length?g:g.subarray(0,e)}fc(a.g,8*c+2);fc(a.g,b.length);ic(a,b)}}),zd=new pc(function(a,b,c,d,e){if(2!==a.h)return!1;Zb(a,pd(b,d,c,!0),e);return!0},$d,!0),Md=new pc(function(a,b,c,d,e){if(2!==a.h)return!1;Zb(a,pd(b,d,c),e);return!0},$d,!0),ce=Zd(function(a,b,c){if(2!==a.h)return!1;var d=Rb(a.g)>>>0;a=Tb(a.g,d);a=a===wb()?void 0:a;L(b,I(b),c,a);return!0},function(a,b,c){b=null==b||"string"===typeof b||ob(b)||b instanceof vb?b:void 0;null!=b&&(b=Cb(b).buffer,fc(a.g,8*c+2),fc(a.g,b.length),ic(a,b))}),T=Zd(function(a,b,c){if(0!==a.h)return!1;a=Rb(a.g)>>>0;L(b,I(b),c,0===a?void 0:a);return!0},function(a,b,c){b=Tc(b);null!=b&&null!=b&&(fc(a.g,8*c),fc(a.g,b))}),de=Zd(function(a,b,c){if(0!==a.h)return!1;a=Rb(a.g);L(b,I(b),c,0===a?void 0:a);return!0},function(a,b,c){b=Sc(b);if(null!=b)if(b=parseInt(b,10),fc(a.g,8*c),a=a.g,c=b,0<=c)fc(a,c);else{for(b=0;9>b;b++)a.g.push(c&127|128),c>>=7;a.g.push(1)}});function ee(a,b){return function(c,d){a:{if($b.length){var e=$b.pop();Vb(e,d);Ob(e.g,c,d);c=e}else c=new Wb(c,d);try{var g=new a,f=g.j;Bd(b)(f,c);Lc&&delete f[Lc];var h=g;break a}finally{c.g.clear(),c.l=-1,c.h=-1,100>$b.length&&$b.push(c)}h=void 0}return h}}function fe(a){return function(b){return Yd(b,a)}};var ge=function(a){this.j=K(a)};A(ge,S);var he=fe([0,de,be]);function ie(a,b){var c=new gc,d=a.filter(function(e){return e.na}).map(je);oc(c,1,d);"undefined"!==typeof b&&mc(c,2,he(b),nc);a=a.filter(function(e){return!e.na}).map(je);oc(c,3,a);return lc(c)}function je(a){var b=new gc;mc(b,a.Ka,a.Ha,nc);return lc(b)}function nc(a,b){ic(b,a.subarray(0,a.length))}var ke=function(a,b){var c=new ge;a=N(c,1,Rc(a),0);b=N(a,2,Yc(b),"");a=b.j;c=I(a);this.g=c&2?b:ad(b.constructor,ld(a,c,!0))};var le=function(a){this.j=K(a)};A(le,S);var me=function(a,b){return N(a,1,null==b?b:Uc(b),"0")},ne=function(a,b){return N(a,2,null==b?b:Uc(b),"0")},oe=fe([0,ae,-1]);var pe=function(){ke.apply(this,arguments)};A(pe,ke);var qe=function(){pe.apply(this,arguments)};A(qe,pe);qe.prototype.l=function(){this.o.apply(this,ka(Ea.apply(0,arguments).map(function(a){return{na:!0,Ka:16,Ha:oe(a)}})))};var re=function(a){this.g=a};re.prototype.toString=function(){return this.g+""};var se=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");var te=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b(a[c],c,a)},ue=function(a){a=void 0===a?document:a;return a.createElement("img")};function ve(a,b,c,d){d=void 0===d?!1:d;a.google_image_requests||(a.google_image_requests=[]);var e=ue(a.document);if(c){var g=function(){if(c){var f=a.google_image_requests,h=Array.prototype.indexOf.call(f,e,void 0);0<=h&&Array.prototype.splice.call(f,h,1)}e.removeEventListener&&e.removeEventListener("load",g,!1);e.removeEventListener&&e.removeEventListener("error",g,!1)};e.addEventListener&&e.addEventListener("load",g,!1);e.addEventListener&&e.addEventListener("error",g,!1)}d&&(e.attributionSrc="");e.src=b;a.google_image_requests.push(e)}var xe=function(a){var b=void 0===b?!1:b;var c="https://pagead2.googlesyndication.com/pagead/gen_204?id=topics_frame";te(a,function(d,e){if(d||0===d)c+="&"+e+"="+encodeURIComponent(""+d)});we(c,b)},we=function(a,b){var c=window;b=void 0===b?!1:b;var d=void 0===d?!1:d;c.fetch?(b={keepalive:!0,credentials:"include",redirect:"follow",method:"get",mode:"no-cors"},d&&(b.mode="cors","setAttributionReporting"in XMLHttpRequest.prototype?b.attributionReporting={eventSourceEligible:"true",triggerEligible:"false"}:b.headers={"Attribution-Reporting-Eligible":"event-source"}),c.fetch(a,b)):ve(c,a,void 0===b?!1:b,void 0===d?!1:d)};var ye=function(a,b,c,d){qe.call(this,a,b);this.i=c;this.h=d};A(ye,qe);ye.prototype.o=function(){var a=encodeURIComponent(db(ie(Ea.apply(0,arguments),this.g),3));this.h(this.i+"?e=4&d="+a)};var ze=function(a,b){this.data=a;this.g=b},Be=function(a,b,c,d){a=a.g;d=void 0===d?[]:d;c=Ae(c);a.g.postMessage(b,[c.port2].concat(d))};var Ce=function(a){this.g=a},Ee=function(a,b){De(a,b);return new Ce(a)},Ae=function(a){var b=new MessageChannel;De(b.port1,a);return b},De=function(a,b){b&&(a.onmessage=function(c){var d=c.data;c=Ee(c.ports[0]);b(new ze(d,c))})};var Fe=function(a){var b=a.destination,c=a.origin,d=void 0===a.Ja?void 0:a.Ja,e=void 0===a.ja?"ZNWN1d":a.ja;a=void 0===a.onMessage?void 0:a.onMessage;if("*"===c)throw Error("Sending to wildcard origin not allowed.");var g=Ae(a),f={};d=d?(f.n=e,f.t=d,f):e;b.postMessage(d,c,[g.port2]);Ee(g.port1,a)};var Ge=function(a,b){var c=void 0===c?{}:c;this.error=a;this.context=b.context;this.msg=b.message||"";this.id=b.id||"jserror";this.meta=c};var He=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)(\\?|/|$)"),Ie=function(a,b){this.g=a;this.h=b},Je=function(a,b){this.url=a;this.ma=!!b;this.depth=null};var Ke=function(){this.i="&";this.h={};this.l=0;this.g=[]},Le=function(a,b){var c={};c[a]=b;return[c]},Ne=function(a,b,c,d,e){var g=[];te(a,function(f,h){(f=Me(f,b,c,d,e))&&g.push(h+"="+f)});return g.join(b)},Me=function(a,b,c,d,e){if(null==a)return"";b=b||"&";c=c||",$";"string"==typeof c&&(c=c.split(""));if(a instanceof Array){if(d=d||0,d<c.length){for(var g=[],f=0;f<a.length;f++)g.push(Me(a[f],b,c,d+1,e));return g.join(c[d])}}else if("object"==typeof a)return e=e||0,2>e?encodeURIComponent(Ne(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))},Pe=function(a,b){var c="https://pagead2.googlesyndication.com"+b,d=Oe(a)-b.length;if(0>d)return"";a.g.sort(function(n,p){return n-p});b=null;for(var e="",g=0;g<a.g.length;g++)for(var f=a.g[g],h=a.h[f],k=0;k<h.length;k++){if(!d){b=null==b?f:b;break}var l=Ne(h[k],a.i,",$");if(l){l=e+l;if(d>=l.length){d-=l.length;c+=l;e=a.i;break}b=null==b?f:b}}a="";null!=b&&(a=e+"trn="+b);return c+a},Oe=function(a){var b=1,c;for(c in a.h)b=c.length>b?c.length:b;return 3997-b-a.i.length-1};var Qe=function(){this.h=this.g},Se=function(a,b){try{var c=b()}catch(g){b=!1;try{b=a.h(987,new Ge(g,{message:Re(g)}),void 0,void 0)}catch(f){a.g(217,f)}if(b){var d,e;null==(d=window.console)||null==(e=d.error)||e.call(d,g)}else throw g;}return c},Te=function(a,b){return function(){var c=Ea.apply(0,arguments);return Se(a,function(){return b.apply(void 0,c)})}};Qe.prototype.g=function(a,b,c,d,e){e=e||"topics_frame_error";try{var g=new Ke;g.g.push(1);g.h[1]=Le("context",a);b.error&&b.meta&&b.id||(b=new Ge(b,{message:Re(b)}));if(b.msg){var f=b.msg.substring(0,512);g.g.push(2);g.h[2]=Le("msg",f)}var h=b.meta||{};if(d)try{d(h)}catch(pb){}b=[h];g.g.push(3);g.h[3]=b;d=Ha;b=[];f=null;do{var k=d;try{var l;if(l=!!k&&null!=k.location.href)b:{try{Za(k.foo);l=!0;break b}catch(pb){}l=!1}var n=l}catch(pb){n=!1}if(n){var p=k.location.href;f=k.document&&k.document.referrer||null}else p=f,f=null;b.push(new Je(p||""));try{d=k.parent}catch(pb){d=null}}while(d&&k!=d);p=0;for(var t=b.length-1;p<=t;++p)b[p].depth=t-p;k=Ha;if(k.location&&k.location.ancestorOrigins&&k.location.ancestorOrigins.length==b.length-1)for(t=1;t<b.length;++t){var r=b[t];r.url||(r.url=k.location.ancestorOrigins[t-1]||"",r.ma=!0)}var u=new Je(Ha.location.href,!1);k=null;var z=b.length-1;for(r=z;0<=r;--r){var x=b[r];!k&&He.test(x.url)&&(k=x);if(x.url&&!x.ma){u=x;break}}x=null;var J=b.length&&b[z].url;0!=u.depth&&J&&(x=b[z]);var W=new Ie(u,x);if(W.h){var mb=W.h.url||"";g.g.push(4);g.h[4]=Le("top",mb)}var Ca={url:W.g.url||""};if(W.g.url){var Qa=W.g.url.match(se),of=Qa[1],pf=Qa[3],qf=Qa[4];u="";of&&(u+=of+":");pf&&(u+="//",u+=pf,qf&&(u+=":"+qf));var rf=u}else rf="";Ca=[Ca,{url:rf}];g.g.push(5);g.h[5]=Ca;Ue(e,g,c)}catch(pb){try{Ue(e,{context:"ecmserr",rctx:a,msg:Re(pb),url:W&&W.g.url},c)}catch(Qi){}}return!1};var Ve=function(a,b,c){c.catch(function(d){d=d?d:"unknown rejection";a.g(b,d instanceof Error?d:Error(d),void 0,void 0)})},Re=function(a){var b=a.toString();a.name&&-1==b.indexOf(a.name)&&(b+=": "+a.name);a.message&&-1==b.indexOf(a.message)&&(b+=": "+a.message);if(a.stack){a=a.stack;var c=b;try{-1==a.indexOf(c)&&(a=c+"\n"+a);for(var d;a!=d;)d=a,a=a.replace(RegExp("((https?:/..*/)[^/:]*:\\d+(?:.|\n)*)\\2"),"$1");b=a.replace(RegExp("\n *","g"),"\n")}catch(e){b=c}}return b};var Ue=function(a,b,c){if(Math.random()<(c||.01))try{if(b instanceof Ke)var d=b;else d=new Ke,te(b,function(g,f){var h=d,k=h.l++;g=Le(f,g);h.g.push(k);h.h[k]=g});var e=Pe(d,"/pagead/gen_204?id="+a+"&");e&&ve(Ha,e,!1,!1)}catch(g){}};/*

 SPDX-License-Identifier: Apache-2.0
*/
var We=ja(["https://securepubads.g.doubleclick.net/pagead/js/car.js"]),Xe=function(a){var b=Ea.apply(1,arguments);if(0===b.length)return new re(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return new re(c)}(We);function Ye(a){for(var b=[],c=0;8>c;++c){var d=new ye(7,"","https://pagead2.googlesyndication.com/pagead/ping",function(g){b.push({url:g})}),e=ne(me(new le,a),c);d.l(e)}return b}function Ze(a){var b=window,c,d;return C(function(e){switch(e.h){case 1:c=b;if(c.sharedStorage){var g=void 0===g?Ha:g;g=(g=g.performance)&&g.now&&g.timing?Math.floor(g.now()+g.timing.navigationStart):Date.now();c.sharedStorage.set("privacy-sandbox-client-creation-timestamp",String(g),{ignoreIfPresent:!0});g=c.sharedStorage.set("ps_cct",String(g),{ignoreIfPresent:!0});e=B(e,g,2)}else e=e.return();return e;case 2:return B(e,c.sharedStorage.worklet.addModule(Xe.toString()),3);case 3:return B(e,c.sharedStorage.selectURL("ps_caus",Ye(a),{resolveToConfig:!0,data:{useObfuscatedKey:void 0}}),4);case 4:d=e.g;g=c.document.body;var f=document.createElement("fencedframe");f.id="privacy-sandbox-client-age-fencedframe";f.name="privacy-sandbox-client-age-fencedframe";f.mode="opaque-ads";f.config=d;g.appendChild(f);e.h=0}})};var $e=function(a){this.j=K(a)};A($e,S);$e.prototype.m=function(){return Q(this,2)};var af=function(a){this.j=K(a)};A(af,S);var bf=function(a,b){var c=a.j,d=I(c);Ic(d);if(null==b)L(c,d,1);else{var e=F(b),g=e,f=!!(2&e)||!!(2048&e),h=f||Object.isFrozen(b),k;if(k=!h)k=!1;for(var l=!0,n=!0,p=0;p<b.length;p++){var t=b[p];f||(t=!!(F(t.j)&2),l&&(l=!t),n&&(n=t))}f||(e=H(e,5,!0),e=H(e,8,l),e=H(e,16,n),k&&(e=H(e,n?2:2048,!0)),e!==g&&(h&&(b=qc(b),e=rd(e,d,!0)),G(b,e)),k&&Object.freeze(b));L(c,d,1,b)}return a};af.ra=[1];/*

 Copyright 2020 Google LLC
 SPDX-License-Identifier: Apache-2.0
*/
var cf=function(){};var U=function(a){a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack);v(Object,"setPrototypeOf").call(Object,this,U.prototype)};A(U,Error);U.prototype.name="SecurityException";var df=function(a){this.j=K(a)};A(df,S);var ef=[0,T];var ff=function(a){this.j=K(a)};A(ff,S);ff.prototype.m=function(){return P(this,1)};var gf=[0,T,ef,ce];var hf=function(a){this.j=K(a)};A(hf,S);var jf=[0,de,T];var kf=function(a){this.j=K(a)};A(kf,S);kf.prototype.m=function(){return P(this,1)};var lf=[0,T,jf,ce];var mf=function(a){this.j=K(a)};A(mf,S);mf.prototype.m=function(){return P(this,1)};var nf=ee(mf,[0,T,gf,lf]);var sf=function(a){this.j=K(a)};A(sf,S);var tf=[0,ef,T];var uf=function(a){this.j=K(a)};A(uf,S);uf.prototype.m=function(){return P(this,3)};var vf=[0,jf,T,-1];var wf=function(a){this.j=K(a)};A(wf,S);var xf=ee(wf,[0,tf,vf]);var yf=function(a){this.j=K(a)};A(yf,S);yf.prototype.m=function(){return P(this,1)};var zf=ee(yf,[0,T,1,ce]);var Af=function(a){this.j=K(a)};A(Af,S);Af.prototype.m=function(){return P(this,3)};var Bf=ee(Af,[0,1,T,-1]);var Cf=function(a){this.j=K(a)};A(Cf,S);var Df=[0,be,ce,de];var Ef=function(a){this.j=K(a)};A(Ef,S);var Ff=[0,1,Df];var Gf=function(a){this.j=K(a)};A(Gf,S);var Hf=[0,de,-1,8,ce];var If=function(a){this.j=K(a)};A(If,S);var Jf=[0,Hf,Ff,de];var Kf=function(a){this.j=K(a)};A(Kf,S);var Lf=ee(Kf,[0,Jf]);var Mf=function(a){this.j=K(a)};A(Mf,S);Mf.prototype.m=function(){return P(this,1)};var Nf=[0,T,Jf,ce,-1],Of=ee(Mf,Nf);var Pf=function(a){this.j=K(a)};A(Pf,S);Pf.prototype.m=function(){return P(this,1)};var Qf=ee(Pf,[0,T,Nf,ce]);var Rf=function(a){this.j=K(a)};A(Rf,S);Rf.prototype.L=function(){return R(this,3)};var Sf=[0,de,-2];var Tf=function(a){this.j=K(a)};A(Tf,S);var Uf=[0,Sf],Vf=ee(Tf,Uf);Tf.prototype.g=function(a){return function(){return Yd(this,a)}}(Uf);var Wf=function(a){this.j=K(a)};A(Wf,S);Wf.prototype.m=function(){return P(this,1)};var Xf=[0,T,Sf,ce],Yf=ee(Wf,Xf);var Zf=function(a){this.j=K(a)};A(Zf,S);Zf.prototype.m=function(){return P(this,1)};var $f=ee(Zf,[0,T,Xf,ce]);var ag=function(a){this.j=K(a)};A(ag,S);var qd=function(a){this.j=K(a)};A(qd,S);var bg=function(a){this.j=K(a)};A(bg,S);var cg=function(a){return function(b){if(null==b||""==b)b=new a;else{b=JSON.parse(b);if(!Array.isArray(b))throw Error(void 0);sc(b,32);b=ad(a,b)}return b}}(bg);bg.ra=[2];function V(a){null==a?a=void 0:a=(a=xb(a))?new Uint8Array(a):rb();return a}function dg(a){null==a?a=void 0:a=(a=xb(a))?a.length:0;return a};var X=function(a){a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack);v(Object,"setPrototypeOf").call(Object,this,X.prototype)};A(X,Error);X.prototype.name="InvalidArgumentsException";function Y(){for(var a=0,b=0;b<arguments.length;b++)a+=arguments[b].length;a=new Uint8Array(a);for(var c=b=0;c<arguments.length;c++)a.set(arguments[c],b),b+=arguments[c].length;return a}function eg(a){if(v(Number,"isNaN").call(Number,a)||0!==a%1)throw new X("cannot convert non-integer value");if(0>a)throw new X("cannot convert negative number");if(a>v(Number,"MAX_SAFE_INTEGER"))throw new X("cannot convert number larger than "+v(Number,"MAX_SAFE_INTEGER"));var b=Math.pow(2,32),c=a%b;a/=b;b=new Uint8Array(8);for(var d=7;4<=d;d--)b[d]=c&255,c>>>=8;for(c=3;0<=c;c--)b[c]=a&255,a>>>=8;return b}function fg(a){for(var b="",c=0;c<a.length;c++){var d=a[c].toString(16);b+=1<d.length?d:"0"+d}return b}function gg(a){return hg(window.atob(a.replace(/-/g,"+").replace(/_/g,"/")))}function ig(a){for(var b="",c=0;c<a.length;c+=1)b+=String.fromCharCode(a[c]);return window.btoa(b).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function hg(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);b[c++]=e}return new Uint8Array(b)};function jg(a){switch(a){case 1:return"P-256";case 2:return"P-384";case 3:return"P-521"}}function kg(a){switch(a){case "P-256":return 1;case "P-384":return 2;case "P-521":return 3}throw new X("unknown curve: "+a);}function lg(a,b,c){a=mg(kg(a));switch(b){case 1:b=c.x;c=c.y;if(void 0===b)throw new X("x must be provided");if(void 0===c)throw new X("y must be provided");var d=new Uint8Array(1+2*a);d[0]=4;d.set(gg(b),1);d.set(gg(c),1+a);return d;case 3:b=c.x;d=c.y;if(void 0===b)throw new X("x must be provided");if(void 0===d)throw new X("y must be provided");c=gg(b);b=gg(d);c.length>a&&(c=c.slice(c.length-a,c.length));b.length>a&&(b=b.slice(b.length-a,b.length));d=new Uint8Array(2*a);d.set(c,0);d.set(b,a);return d;case 2:b=c.x;d=c.y;if(void 0===b)throw new X("x must be provided");if(void 0===d)throw new X("y must be provided");c=gg(b);b=gg(d);c.length>a&&(c=c.slice(c.length-a,c.length));b.length>a&&(b=b.slice(b.length-a,b.length));d=new Uint8Array(1+a);d.set(c,1+a-c.length);d[0]=ng(BigInt("0x"+fg(b)),0)?3:2;return d;default:throw new U("invalid format");}}function og(a){switch(a){case 1:return BigInt("115792089210356248762697446949407573530086143415290314195533631308867097853951");case 2:return BigInt("39402006196394479212279040100143613805079739270465446667948293404245721771496870329047266088258938001861606973112319");case 3:return BigInt("6864797660130609714981900799081393217269435300143305409394463459185543183397656052122559640661454554977296311391480858037121987999716643812574028291115057151");default:throw new X("invalid curve");}}function pg(a){a=a.toString(16);a=0===a.length%2?a:"0"+a;if(0!=a.length%2)throw new X("Hex string length must be multiple of 2");for(var b=new Uint8Array(a.length/2),c=0;c<a.length;c+=2)b[c/2]=parseInt(a.substring(c,c+2),16);return b}function ng(a,b){return(a&BigInt(1)<<BigInt(b))!==BigInt(0)}function qg(a,b,c){var d=mg(kg(a));switch(b){case 1:if(c.length!==1+2*d||4!==c[0])throw new U("invalid point");return{kty:"EC",crv:a,x:ig(new Uint8Array(c.subarray(1,1+d))),y:ig(new Uint8Array(c.subarray(1+d,c.length))),ext:!0};case 3:if(c.length!==2*d)throw new U("invalid point");return{kty:"EC",crv:a,x:ig(new Uint8Array(c.subarray(0,d))),y:ig(new Uint8Array(c.subarray(d,c.length))),ext:!0};case 2:if(c.length!==1+d)throw new U("compressed point has wrong length");if(2!==c[0]&&3!==c[0])throw new U("invalid format");b=3===c[0];c=BigInt("0x"+fg(c.subarray(1,c.length)));d=og(kg(a));if(c<BigInt(0)||c>=d)throw new U("x is out of range");d=og(kg(a));var e=d-BigInt(3);a:switch(kg(a)){case 1:var g=BigInt("0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b");break a;case 2:g=BigInt("0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef");break a;case 3:g=BigInt("0x051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00");break a;default:throw new X("invalid curve");}if(d<=BigInt(0))throw new X("p must be positive");e=((c*c+e)*c+g)%d%d;if(ng(d,0)&&ng(d,1)){var f=d+BigInt(1)>>BigInt(2);if(f===BigInt(0))g=BigInt(1);else{g=e;f=f.toString(2);for(var h=1;h<f.length;++h)g=g*g%d,"1"===f[h]&&(g=g*e%d)}if(g*g%d!==e)throw new U("could not find a modular square root");e=g}else throw new X("unsupported modulus value");b!==ng(e,0)&&(e=(d-e)%d);b=e;return{kty:"EC",crv:a,x:ig(pg(c)),y:ig(pg(b)),ext:!0};default:throw new U("invalid format");}}function mg(a){switch(a){case 1:return 32;case 2:return 48;case 3:return 66}}function rg(a,b){var c,d,e,g,f;return C(function(h){if(1==h.h){c=a.algorithm;d=c.namedCurve;if(!d)throw new X("namedCurve must be provided");e=v(Object,"assign").call(Object,{},{"public":b},a.algorithm);g=8*mg(kg(d));return B(h,window.crypto.subtle.deriveBits(e,a,g),2)}f=h.g;return h.return(new Uint8Array(f))})}function sg(a){var b,c;return C(function(d){if(1==d.h)return b={name:"ECDH",namedCurve:a},B(d,window.crypto.subtle.generateKey(b,!0,["deriveKey","deriveBits"]),2);c=d.g;return d.return(c)})}function tg(a){var b;return C(function(c){if(1==c.h)return B(c,window.crypto.subtle.exportKey("jwk",a),2);b=c.g;return c.return(b)})}function ug(a){var b,c,d;return C(function(e){if(1==e.h){b=a;c=b.crv;if(!c)throw new X("crv must be provided");return B(e,window.crypto.subtle.importKey("jwk",a,{name:"ECDH",namedCurve:c},!0,[]),2)}d=e.g;return e.return(d)})}function vg(a){var b,c,d;return C(function(e){if(1==e.h){b=a;c=b.crv;if(!c)throw new X("crv must be provided");return B(e,window.crypto.subtle.importKey("jwk",a,{name:"ECDH",namedCurve:c},!0,["deriveKey","deriveBits"]),2)}d=e.g;return e.return(d)})};function wg(a,b){var c=a.length;if(c<b)return b=new Uint8Array(b-c),Y(b,a);if(c>b){for(var d=0;d<c-b;d++)if(0!=a[d])throw new U("Number needs more bytes to be represented.");return a.slice(c-b,c)}return a}function xg(a){switch(a){case 2:return 1;case 3:return 2;case 4:return 3;default:throw new U("Unknown curve type.");}}function yg(a){switch(a){case 1:return"SHA-1";case 3:return"SHA-256";case 4:return"SHA-512";default:throw new U("Unknown hash type.");}}function zg(a){switch(a){case 1:return 1;case 2:return 2;case 3:return 3;default:throw new U("Unknown point format.");}};var Ag=new q.Map,Bg=new q.Map,Cg=new q.Map;function Dg(a){var b;void 0===b&&(b=!0);if(!a)throw new U("Key manager cannot be null.");var c=a.v();if(Ag.has(c)){if(!(Ag.get(c)instanceof a.constructor))throw new U("Key manager for key type "+c+" has already been registered and cannot be overwritten.");if(!Bg.get(c)&&b)throw new U("Key manager for key type "+c+" has already been registered with forbidden new key operation.");Bg.set(c,b)}Ag.set(c,a);Bg.set(c,b)}function Eg(a){var b=Ag.get(a);if(!b)throw new U("Key manager for key type "+a+" has not been registered.");return b}function Fg(a,b,c){var d,e;return C(function(g){if(1==g.h){if(b instanceof ag){if(c&&Q(b,1)!=c)throw new U("Key type is "+c+", but it is expected to be "+Q(b,1)+" or undefined.");c=Q(b,1)}if(!c)throw new U("Key type has to be specified.");d=Eg(c);return B(g,d.B(a,b),2)}e=g.g;if(!(e instanceof a))throw new TypeError("Unexpected type");return g.return(e)})}function Gg(a){if(!a)throw new U("primitive wrapper cannot be null");var b=a.s();if(!b)throw new U("primitive wrapper cannot be undefined");if(Cg.has(b)&&!(Cg.get(b)instanceof a.constructor))throw new U("primitive wrapper for type "+b+" has already been registered and cannot be overwritten");Cg.set(b,a)};function Hg(a){if(!v(Number,"isInteger").call(Number,a)||0>a)throw new X("n must be a nonnegative integer");a=new Uint8Array(a);crypto.getRandomValues(a);return a};var Ig=[16,32];function Jg(a){if(!v(Ig,"includes").call(Ig,a))throw new X("unsupported AES key size: "+a);}function Z(a){if(null==a||!(a instanceof Uint8Array))throw new X("input must be a non null Uint8Array");}function Kg(a,b){if(0>a||a>b)throw new U("Version is out of bound, must be between 0 and "+b+".");};var Lg=function(a,b){this.key=a;this.J=b};Lg.prototype.encrypt=function(a){var b=this,c,d,e,g;return C(function(f){if(1==f.h)return Z(a),c=Hg(b.J),d=new Uint8Array(16),d.set(c),e={name:"AES-CTR",counter:d,length:128},B(f,self.crypto.subtle.encrypt(e,b.key,a),2);g=f.g;return f.return(Y(c,new Uint8Array(g)))})};Lg.prototype.decrypt=function(a){var b=this,c,d,e;return C(function(g){if(1==g.h){Z(a);if(a.length<b.J)throw new U("ciphertext too short");c=new Uint8Array(16);c.set(a.subarray(0,b.J));d={name:"AES-CTR",counter:c,length:128};e=Uint8Array;return B(g,self.crypto.subtle.decrypt(d,b.key,new Uint8Array(a.subarray(b.J))),2)}return g.return(new e(g.g))})};function Mg(a,b){var c;return C(function(d){if(1==d.h){if(!v(Number,"isInteger").call(Number,b))throw new U("invalid IV length, must be an integer");if(12>b||16<b)throw new U("invalid IV length, must be at least 12 and at most 16");Z(a);Jg(a.length);return B(d,self.crypto.subtle.importKey("raw",a,{name:"AES-CTR",length:a.length},!1,["encrypt","decrypt"]),2)}c=d.g;return d.return(new Lg(c,b))})};var Ng=function(){};var Og=function(a,b,c){this.hash=a;this.key=b;this.K=c};A(Og,Ng);var Pg=function(a,b){var c;return C(function(d){if(1==d.h)return Z(b),B(d,self.crypto.subtle.sign({name:"HMAC",hash:{name:a.hash}},a.key,b),2);c=d.g;return d.return(new Uint8Array(c.slice(0,a.K)))})},Qg=function(a,b,c){var d;return C(function(e){if(1==e.h)return Z(b),Z(c),B(e,Pg(a,c),2);d=e.g;if(b.length!==d.length)var g=!1;else{for(var f=g=0;f<b.length;f++)g|=b[f]^d[f];g=0==g}return e.return(g)})};function Rg(a,b,c){var d;return C(function(e){if(1==e.h){Z(b);if(!v(Number,"isInteger").call(Number,c))throw new X("invalid tag size, must be an integer");if(10>c)throw new X("tag too short, must be at least "+(10).toString()+" bytes");switch(a){case "SHA-1":if(20<c)throw new X("tag too long, must not be larger than 20 bytes");break;case "SHA-256":if(32<c)throw new X("tag too long, must not be larger than 32 bytes");break;case "SHA-384":if(48<c)throw new X("tag too long, must not be larger than 48 bytes");break;case "SHA-512":if(64<c)throw new X("tag too long, must not be larger than 64 bytes");break;default:throw new X(a+" is not supported");}return B(e,self.crypto.subtle.importKey("raw",b,{name:"HMAC",hash:{name:a},length:8*b.length},!1,["sign","verify"]),2)}d=e.g;return e.return(new Og(a,d,c))})};var Sg=function(a,b,c,d){this.g=a;this.J=b;this.h=c;this.K=d};A(Sg,cf);Sg.prototype.encrypt=function(a,b){b=void 0===b?new Uint8Array(0):b;var c=this,d,e,g;return C(function(f){if(1==f.h)return Z(a),B(f,c.g.encrypt(a),2);if(3!=f.h)return d=f.g,Z(b),e=eg(8*b.length),B(f,Pg(c.h,Y(b,d,e)),3);g=f.g;if(c.K!=g.length)throw new U("invalid tag size, expected "+c.K+" but got "+g.length);return f.return(Y(d,g))})};Sg.prototype.decrypt=function(a,b){b=void 0===b?new Uint8Array(0):b;var c=this,d,e,g,f,h;return C(function(k){if(1==k.h){Z(a);if(a.length<c.J+c.K)throw new U("ciphertext too short");d=new Uint8Array(a.subarray(0,a.length-c.K));Z(b);e=eg(8*b.length);g=Y(b,d,e);f=new Uint8Array(a.subarray(d.length));return B(k,Qg(c.h,f,g),2)}h=k.g;if(!h)throw new U("invalid MAC");return k.return(c.g.decrypt(d))})};function Tg(a,b,c,d,e){var g,f;return C(function(h){if(1==h.h)return Z(a),Z(d),B(h,Mg(a,b),2);if(3!=h.h)return g=h.g,B(h,Rg(c,d,e),3);f=h.g;return h.return(new Sg(g,b,f,e))})};var Ug=function(){};Ug.prototype.S=function(a){if(a instanceof Uint8Array){try{var b=xf(a)}catch(e){throw new U("Could not parse the given Uint8Array as a serialized proto of type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey");}if(!b||!O(b,sf,1)||!O(b,uf,2))throw new U("Could not parse the given Uint8Array as a serialized proto of type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey");}else if(a instanceof wf)b=a;else throw new U("Expected AesCtrHmacAeadKeyFormat-proto");var c=Vg(O(b,sf,1));a=c.za;c=c.W;var d=new ff;d=ud(d,1,0);a=td(d,2,a);c=Hg(c);a=vd(a,3,c);c=Wg(O(b,uf,2));b=c.Da;c=c.Ca;d=new kf;d=ud(d,1,0);b=td(d,2,b);c=Hg(c);b=vd(b,3,c);c=new mf;a=td(c,2,a);return td(a,3,b)};var Vg=function(a){if(!a)throw new U("Invalid AES CTR HMAC key format: key format undefined");var b=P(a,2);Jg(b);a=O(a,df,1);if(!a)throw new U("Invalid AES CTR HMAC key format: params undefined");var c=P(a,1);if(12>c||16<c)throw new U("Invalid AES CTR HMAC key format: IV size is out of range: "+c);return{za:a,W:b,J:c}},Wg=function(a){if(!a)throw new U("Invalid AES CTR HMAC key format: key format undefined");var b=P(a,2);if(16>b)throw new U("Invalid AES CTR HMAC key format: HMAC key is too small: "+P(a,2));a=O(a,hf,1);if(!a)throw new U("Invalid AES CTR HMAC key format: params undefined");var c=P(a,2);if(10>c)throw new U("Invalid HMAC params: tag size "+c+" is too small.");if(!Xg.has(R(a,1)))throw new U("Unknown hash type.");if(c>Xg.get(R(a,1)))throw new U("Invalid HMAC params: tag size "+c+" is out of range.");switch(R(a,1)){case 1:var d="SHA-1";break;case 3:d="SHA-256";break;case 4:d="SHA-512";break;default:d="UNKNOWN HASH"}return{Da:a,Ca:b,Ba:d,K:c}},Xg=new q.Map([[1,20],[3,32],[4,64]]),Yg=function(){this.g=new Ug};m=Yg.prototype;m.B=function(a,b){var c,d,e,g,f,h=this,k,l,n,p,t,r;return C(function(u){if(1==u.h){if(a!=h.s())throw new U("Requested primitive type which is not supported by this key manager.");if(b instanceof ag){if(!h.O(Q(b,1)))throw new U("Key type "+Q(b,1)+" is not supported. This key manager supports "+h.v()+".");try{k=nf(M(b,2))}catch(W){throw new U("Could not parse the key in key data as a serialized proto of type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey");}if(null===k||void 0===k)throw new U("Could not parse the key in key data as a serialized proto of type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey");}else if(b instanceof mf)k=b;else throw new U("Given key type is not supported. This key manager supports "+h.v()+".");var z=O(k,ff,2);if(!z)throw new U("Invalid AES CTR HMAC key format: key undefined");Kg(z.m(),h.m());var x=new sf;var J=O(z,df,2);x=td(x,1,J);J=dg(M(z,3));x=ud(x,2,J);x=Vg(x).J;g=V(M(z,3));f=x;l=g;n=f;z=O(k,kf,3);if(!z)throw new U("Invalid AES CTR HMAC key format: key undefined");Kg(z.m(),h.m());x=new uf;J=O(z,hf,2);x=td(x,1,J);J=dg(M(z,3));x=ud(x,2,J);J=Wg(x);x=J.Ba;J=J.K;c=V(M(z,3));d=x;e=J;p=c;t=d;r=e;return B(u,Tg(l,n,t,p,r),2)}return u.return(u.g)})};m.O=function(a){return a===this.v()};m.v=function(){return"type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"};m.s=function(){return cf};m.m=function(){return 0};m.P=function(){return this.g};var Zg=function(a){var b=a.D;this.key=a.key;this.D=b};Zg.prototype.encrypt=function(a,b,c){var d=this,e,g;return C(function(f){if(1==f.h){if(12!==a.length)throw new U("IV must be 12 bytes");e={name:"AES-GCM",iv:a,tagLength:128};c&&(e.additionalData=c);return B(f,self.crypto.subtle.encrypt(e,d.key,b),2)}g=f.g;return f.return(d.D?Y(a,new Uint8Array(g)):new Uint8Array(g))})};Zg.prototype.decrypt=function(a,b,c){var d=this,e,g,f,h,k;return C(function(l){if(1==l.h){e=d.D?28:16;if(b.length<e)throw new U("ciphertext too short");if(12!==a.length)throw new U("IV must be 12 bytes");g={name:"AES-GCM",iv:a,tagLength:128};c&&(g.additionalData=c);f=d.D?new Uint8Array(b.subarray(12)):b;l.o=2;h=Uint8Array;return B(l,self.crypto.subtle.decrypt(g,d.key,f),4)}if(2!=l.h)return l.return(new h(l.g));k=wa(l);throw new U(k.toString());})};function $g(a){var b=a.key,c=a.D,d;return C(function(e){if(1==e.h){if(!(aa=[16,32],v(aa,"includes")).call(aa,b.length))throw new X("unsupported AES key size: ${n}");return B(e,self.crypto.subtle.importKey("raw",b,{name:"AES-GCM",length:b.length},!1,["encrypt","decrypt"]),2)}d=e.g;return e.return(new Zg({key:d,D:c}))})};var ah=function(a){this.key=a;this.g=new Zg({key:a,D:!0})};A(ah,cf);ah.prototype.encrypt=function(a,b){var c=this,d;return C(function(e){d=Hg(12);return e.return(c.g.encrypt(d,a,b))})};ah.prototype.decrypt=function(a,b){var c=this,d;return C(function(e){d=new Uint8Array(12);d.set(a.subarray(0,12));return e.return(c.g.decrypt(d,a,b))})};function bh(a){var b;return C(function(c){if(1==c.h)return Jg(a.length),B(c,self.crypto.subtle.importKey("raw",a,{name:"AES-GCM",length:a.length},!1,["encrypt","decrypt"]),2);b=c.g;return c.return(new ah(b))})};var ch=function(){};ch.prototype.S=function(a){if(a instanceof Uint8Array){try{var b=Bf(a)}catch(c){throw new U("Could not parse the input as a serialized proto of type.googleapis.com/google.crypto.tink.AesGcmKey key format.");}if(!P(b,2))throw new U("Could not parse the input as a serialized proto of type.googleapis.com/google.crypto.tink.AesGcmKey key format.");a=b}else if(!(a instanceof Af))throw new U("Expected AesGcmKeyFormat-proto");b=a;Jg(P(b,2));a=new yf;b=Hg(P(b,2));a=vd(a,3,b);return ud(a,1,0)};var dh=function(){this.g=new ch};m=dh.prototype;m.B=function(a,b){var c=this,d;return C(function(e){if(1==e.h){if(a!=c.s())throw new U("Requested primitive type which is not supported by this key manager.");if(b instanceof ag){if("type.googleapis.com/google.crypto.tink.AesGcmKey"!=Q(b,1))throw new U("Key type "+Q(b,1)+" is not supported. This key manager supports type.googleapis.com/google.crypto.tink.AesGcmKey.");try{var g=zf(M(b,2))}catch(f){throw new U("Could not parse the input as a serialized proto of type.googleapis.com/google.crypto.tink.AesGcmKey key.");}}else if(b instanceof yf)g=b;else throw new U("Key type is not supported. This key manager supports type.googleapis.com/google.crypto.tink.AesGcmKey.");d=g;Jg(dg(M(d,3)));Kg(d.m(),0);return B(e,bh(V(M(d,3))),2)}return e.return(e.g)})};m.O=function(a){return a===this.v()};m.v=function(){return"type.googleapis.com/google.crypto.tink.AesGcmKey"};m.s=function(){return cf};m.m=function(){return 0};m.P=function(){return this.g};var eh=function(){};var fh=function(a,b){b=[b];var c=b.concat;if(!v(Number,"isInteger").call(Number,a)||0>a||a>=Math.pow(2,32))throw new X("Number has to be unsigned 32-bit integer.");for(var d=Array(4),e=0;4>e;e++)d[e]=255&a>>8*(4-e-1);b=c.call(b,d);return new Uint8Array(b)},gh=new Uint8Array(0);var hh=function(a){this.g=a};A(hh,eh);hh.prototype.decrypt=function(a,b){var c=this,d,e,g,f,h;return C(function(k){switch(k.h){case 1:if(!a)throw new U("Ciphertext has to be non-null.");if(!(5<a.length)){k.h=2;break}d=a.subarray(0,5);return B(k,ih(c.g,d),3);case 3:return e=k.g,g=a.subarray(5,a.length),k.o=4,B(k,jh(e,g,b),6);case 6:f=k.g;k.h=5;k.o=0;break;case 4:wa(k);case 5:if(f)return k.return(f);case 2:return B(k,ih(c.g,gh),7);case 7:return h=k.g,k.return(jh(h,a,b))}})};var jh=function(a,b,c){var d,e,g,f;return C(function(h){switch(h.h){case 1:d=a.length,e=0;case 2:if(!(e<d)){h.h=4;break}if(1!=a[e].h){h.h=3;break}g=a[e].B();f=void 0;h.o=5;return B(h,g.decrypt(b,c),7);case 7:f=h.g;h.h=6;h.o=0;break;case 5:wa(h);h.h=3;break;case 6:return h.return(f);case 3:e++;h.h=2;break;case 4:throw new U("Decryption failed for the given ciphertext.");}})},kh=function(){};kh.prototype.sa=function(a){if(!a)throw new U("Primitive set has to be non-null.");return new hh(a)};kh.prototype.s=function(){return eh};function lh(a){var b=null;var c=a instanceof Pf?O(a,Mf,2):a;var d=O(c,If,2);if(!d)throw new U("Params not set");d=O(d,Gf,1);if(!d)throw new U("KEM params not set");d=xg(R(d,1));var e=mg(d),g=wg(V(M(c,3)),e);c=wg(V(M(c,4)),e);a instanceof Pf&&(b=wg(V(M(a,3)),e));a=b;b={kty:"EC",crv:jg(d),x:ig(g),y:ig(c),ext:!0};a&&(b.d=ig(a));return b};function mh(a){var b=O(a,Gf,1);if(!b)throw new U("Invalid params - missing KEM params.");var c=R(b,1);if(2!==c&&3!==c&&4!==c)throw new U("Invalid KEM params - unknown curve type.");b=R(b,2);if(1!==b&&3!==b&&2!==b&&4!==b)throw new U("Invalid KEM params - unknown hash type.");b=O(a,Ef,2);if(!b)throw new U("Invalid params - missing DEM params.");if(!O(b,Cf,2))throw new U("Invalid DEM params - missing AEAD key template.");b=Q(O(b,Cf,2),1);if("type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"!=b&&"type.googleapis.com/google.crypto.tink.AesGcmKey"!=b)throw new U("Invalid DEM params - "+b+" template is not supported by ECIES AEAD HKDF.");a=R(a,3);if(1!==a&&2!==a&&3!==a)throw new U("Invalid key params - unknown EC point format.");}function nh(a,b){Kg(a.m(),b);b=O(a,If,2);if(!b)throw new U("Invalid public key - missing key params.");mh(b);if(!dg(M(a,3))||!dg(M(a,4)))throw new U("Invalid public key - missing value of X or Y.");};var oh=function(){};var ph=function(a){var b=Q(a,1);switch(b){case "type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey":try{var c=xf(M(a,2))}catch(g){throw new U("Could not parse the given Uint8Array as a serialized proto of type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey.");}if(!O(c,sf,1)||!O(c,uf,2))throw new U("Could not parse the given Uint8Array as a serialized proto of type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey.");a=c;var d=O(a,sf,1);if(!d)throw new U("AES-CTR key format not set");d=P(d,2);c=O(a,uf,2);if(!c)throw new U("HMAC key format not set");c=P(c,2);c=d+c;break;case "type.googleapis.com/google.crypto.tink.AesGcmKey":try{var e=Bf(M(a,2))}catch(g){throw new U("Could not parse the given Uint8Array as a serialized proto of type.googleapis.com/google.crypto.tink.AesGcmKey.");}if(!P(e,2))throw new U("Could not parse the given Uint8Array as a serialized proto of type.googleapis.com/google.crypto.tink.AesGcmKey.");a=e;c=P(a,2);break;default:throw new U("Key type URL "+b+" is not supported.");}this.key=Eg(b).P().S(a);this.g=b;this.U=c;this.W=d};ph.prototype.L=function(a){var b=this,c;return C(function(d){if(a.length!==b.U)throw new U("Key is not of the correct length, expected length: "+b.U+", but got key of length: "+a.length+".");if("type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"===b.g){var e=b.key,g=O(e,ff,2);if(!g)throw new U("AES-CTR key not set");vd(g,3,a.slice(0,b.W));g=O(e,kf,3);if(!g)throw new U("HMAC key not set");vd(g,3,a.slice(b.W,b.U));c=e}else{if(!(b.key instanceof yf))throw new U("Key is not an AES-CTR key");c=vd(b.key,3,a)}return d.return(Fg(cf,c,b.g))})};function qh(a,b,c,d,e){var g,f,h,k,l,n,p,t,r;return C(function(u){switch(u.h){case 1:if(!v(Number,"isInteger").call(Number,a))throw new X("size must be an integer");if(0>=a)throw new X("size must be positive");switch(b){case "SHA-1":g=20;if(5100<a)throw new X("size too large");break;case "SHA-256":g=32;if(8160<a)throw new X("size too large");break;case "SHA-512":g=64;if(16320<a)throw new X("size too large");break;default:throw new X(b+" is not supported");}Z(c);Z(d);f=e;if(null==e||void 0===f||0==f.length)f=new Uint8Array(g);Z(f);return B(u,Rg(b,f,g),2);case 2:return h=u.g,B(u,Pg(h,c),3);case 3:return k=u.g,B(u,Rg(b,k,g),4);case 4:h=u.g,l=1,n=0,p=new Uint8Array(0),t=new Uint8Array(a);case 5:return r=new Uint8Array(p.length+d.length+1),r.set(p,0),r.set(d,p.length),r[r.length-1]=l,B(u,Pg(h,r),8);case 8:p=u.g;if(n+p.length<a)t.set(p,n),n+=p.length,l++;else{t.set(p.subarray(0,a-n),n);u.h=7;break}u.h=5;break;case 7:return u.return(t)}})};var rh=function(a){if(!a)throw new U("Recipient public key has to be non-null.");if("public"!==a.type||!a.algorithm)throw new U("Expected Crypto key of type: public.");this.publicKey=a};rh.prototype.ha=function(a,b,c,d,e){var g=this,f,h,k,l,n,p,t,r,u,z;return C(function(x){switch(x.h){case 1:f=g.publicKey.algorithm;h=f.namedCurve;if(!h)throw new U("Curve has to be defined.");return B(x,sg(h),2);case 2:return k=x.g,B(x,rg(k.privateKey,g.publicKey),3);case 3:return l=x.g,B(x,tg(k.publicKey),4);case 4:p=n=x.g;t=p.crv;if(!t)throw new U("Curve has to be defined.");r=lg(t,b,n);u=Y(r,l);return B(x,qh(a,c,u,d,e),5);case 5:return z=x.g,x.return({key:z,token:r})}})};function sh(a){var b;return C(function(c){if(1==c.h)return B(c,ug(a),2);b=c.g;return c.return(new rh(b))})};var th=function(a,b,c,d,e){if(!a)throw new U("KEM sender has to be non-null.");if(!b)throw new U("HMAC algorithm has to be non-null.");if(!c)throw new U("Point format has to be non-null.");if(!d)throw new U("DEM helper has to be non-null.");this.o=a;this.h=b;this.l=c;this.g=d;this.i=e};A(th,oh);th.prototype.encrypt=function(a,b){b=void 0===b?new Uint8Array(0):b;var c=this,d,e,g,f,h;return C(function(k){switch(k.h){case 1:return d=c.g.U,B(k,c.o.ha(d,c.l,c.h,b,c.i),2);case 2:return e=k.g,B(k,c.g.L(e.key),3);case 3:return g=k.g,B(k,g.encrypt(a),4);case 4:return f=k.g,h=e.token,k.return(Y(h,f))}})};function uh(a,b,c,d,e){var g;return C(function(f){if(1==f.h){if(!a)throw new U("Recipient public key has to be non-null.");if(!b)throw new U("HMAC algorithm has to be non-null.");if(!c)throw new U("Point format has to be non-null.");if(!d)throw new U("DEM helper has to be non-null.");return B(f,sh(a),2)}g=f.g;return f.return(new th(g,b,c,d,e))})};var vh=function(){};vh.prototype.S=function(){throw new U("This operation is not supported for public keys. Use EciesAeadHkdfPrivateKeyManager to generate new keys.");};var wh=function(){this.g=new vh};m=wh.prototype;m.B=function(a,b){var c=this,d,e,g,f,h,k,l,n,p,t;return C(function(r){if(a!==c.s())throw new U("Requested primitive type which is not supported by this key manager.");if(b instanceof ag){if("type.googleapis.com/google.crypto.tink.EciesAeadHkdfPublicKey"!==Q(b,1))throw new U("Key type "+Q(b,1)+" is not supported. This key manager supports type.googleapis.com/google.crypto.tink.EciesAeadHkdfPublicKey.");try{var u=Of(M(b,2))}catch(z){throw new U("Input cannot be parsed as type.googleapis.com/google.crypto.tink.EciesAeadHkdfPublicKey key-proto.");}if(!O(u,If,2)||!M(u,3)||!M(u,4))throw new U("Input cannot be parsed as type.googleapis.com/google.crypto.tink.EciesAeadHkdfPublicKey key-proto.");}else if(b instanceof Mf)u=b;else throw new U("Key type is not supported. This key manager supports type.googleapis.com/google.crypto.tink.EciesAeadHkdfPublicKey.");d=u;nh(d,c.m());e=lh(d);g=O(d,If,2);f=O(g,Ef,2);if(!f)throw new U("DEM params not set");h=O(f,Cf,2);k=new ph(h);l=zg(R(g,3));n=O(g,Gf,1);if(!n)throw new U("KEM params not set");p=yg(R(n,2));t=V(M(n,11));return r.return(uh(e,p,l,k,t))})};m.O=function(a){return a===this.v()};m.v=function(){return"type.googleapis.com/google.crypto.tink.EciesAeadHkdfPublicKey"};m.s=function(){return oh};m.m=function(){return 0};m.P=function(){return this.g};var xh=function(a){if(!a)throw new U("Private key has to be non-null.");if("private"!==a.type||!a.algorithm)throw new U("Expected crypto key of type: private.");this.g=a};xh.prototype.fa=function(a,b,c,d,e,g){var f=this,h,k,l,n,p,t,r;return C(function(u){switch(u.h){case 1:h=f.g.algorithm;k=h.namedCurve;if(!k)throw new U("Curve has to be defined.");l=qg(k,c,a);return B(u,ug(l),2);case 2:return n=u.g,B(u,rg(f.g,n),3);case 3:return p=u.g,t=Y(a,p),B(u,qh(b,d,t,e,g),4);case 4:return r=u.g,u.return(r)}})};function yh(a){var b;return C(function(c){if(1==c.h)return B(c,vg(a),2);b=c.g;return c.return(new xh(b))})};var zh=function(a,b,c,d,e,g){if(!a)throw new U("Recipient private key has to be non-null.");if(!b)throw new U("KEM recipient has to be non-null.");if(!c)throw new U("HKDF hash algorithm has to be non-null.");if(!d)throw new U("Point format has to be non-null.");if(!e)throw new U("DEM helper has to be non-null.");a=a.crv;if(!a)throw new U("Curve has to be defined.");a=kg(a);a:{switch(d){case 1:a=2*mg(a)+1;break a;case 2:a=mg(a)+1;break a;case 3:a=2*mg(a);break a}a=void 0}this.C=b;this.i=c;this.o=d;this.h=e;this.g=a;this.l=g};A(zh,eh);zh.prototype.decrypt=function(a,b){var c=this,d,e,g;return C(function(f){if(1==f.h){if(a.length<c.g)throw new U("Ciphertext is too short.");d=a.slice(0,c.g);e=a.slice(c.g,a.length);return B(f,c.L(d,b),2)}g=f.g;return f.return(g.decrypt(e))})};zh.prototype.L=function(a,b){var c=this,d;return C(function(e){if(1==e.h)return b||(b=new Uint8Array(0)),B(e,c.C.fa(a,c.h.U,c.o,c.i,b,c.l),2);d=e.g;return e.return(c.h.L(d))})};function Ah(a,b,c,d,e){var g;return C(function(f){if(1==f.h){if(!a)throw new U("Recipient private key has to be non-null.");if(!b)throw new U("HKDF hash algorithm has to be non-null.");if(!c)throw new U("Point format has to be non-null.");if(!d)throw new U("DEM helper has to be non-null.");if(!a)throw new U("Recipient private key has to be non-null.");return B(f,yh(a),2)}g=f.g;return f.return(new zh(a,g,b,c,d,e))})};var Bh=function(){};Bh.prototype.S=function(a){var b,c,d,e,g,f,h,k,l;return C(function(n){switch(n.h){case 1:if(!a)throw new U("Key format has to be non-null.");if(a instanceof Uint8Array){try{var p=Lf(a)}catch(z){throw new U("Input cannot be parsed as type.googleapis.com/google.crypto.tink.EciesAeadHkdfPrivateKey key format proto.");}if(!O(p,If,1))throw new U("Input cannot be parsed as type.googleapis.com/google.crypto.tink.EciesAeadHkdfPrivateKey key format proto.");}else if(a instanceof Kf)p=a;else throw new U("Expected type.googleapis.com/google.crypto.tink.EciesAeadHkdfPrivateKey key format proto.");b=p;p=O(b,If,1);if(!p)throw new U("Invalid key format - missing key params.");mh(p);c=O(b,If,1);if(!c)throw new U("Params not set");d=O(c,Gf,1);if(!d)throw new U("KEM params not set");e=R(d,1);g=xg(e);f=jg(g);return B(n,sg(f),2);case 2:return h=n.g,B(n,tg(h.publicKey),3);case 3:return k=n.g,B(n,tg(h.privateKey),4);case 4:l=n.g;p=n.return;var t=k.x;var r=k.y;if(void 0===t)throw new U("x must be set");if(void 0===r)throw new U("y must be set");var u=new Mf;u=ud(u,1,0);u=td(u,2,c);t=gg(t);t=vd(u,3,t);r=gg(r);t=vd(t,4,r);r=l.d;if(void 0===r)throw new U("d must be set");u=new Pf;u=ud(u,1,0);t=td(u,2,t);r=gg(r);r=vd(t,3,r);return p.call(n,r)}})};var Ch=function(){this.g=new Bh};m=Ch.prototype;m.B=function(a,b){var c=this,d,e,g,f,h,k,l,n,p,t,r;return C(function(u){if(a!==c.s())throw new U("Requested primitive type which is not supported by this key manager.");if(b instanceof ag){if("type.googleapis.com/google.crypto.tink.EciesAeadHkdfPrivateKey"!==Q(b,1))throw new U("Key type "+Q(b,1)+" is not supported. This key manager supports type.googleapis.com/google.crypto.tink.EciesAeadHkdfPrivateKey.");var z=M(b,2);try{var x=Qf(z)}catch(J){throw new U("Input cannot be parsed as type.googleapis.com/google.crypto.tink.EciesAeadHkdfPrivateKey key-proto.");}if(!O(x,Mf,2)||!M(x,3))throw new U("Input cannot be parsed as type.googleapis.com/google.crypto.tink.EciesAeadHkdfPrivateKey key-proto.");z=x}else if(b instanceof Pf)z=b;else throw new U("Key type is not supported. This key manager supports type.googleapis.com/google.crypto.tink.EciesAeadHkdfPrivateKey.");d=z;Kg(d.m(),0);if(!M(d,3))throw new U("Invalid private key - missing private key value.");z=O(d,Mf,2);if(!z)throw new U("Invalid private key - missing public key information.");nh(z,0);e=lh(d);g=O(d,Mf,2);if(!g)throw new U("Public key not set");f=O(g,If,2);if(!f)throw new U("Params not set");h=O(f,Ef,2);if(!h)throw new U("DEM params not set");k=O(h,Cf,2);if(!k)throw new U("Key template not set");l=new ph(k);n=zg(R(f,3));p=O(f,Gf,1);if(!p)throw new U("KEM params not set");t=yg(R(p,2));r=V(M(p,11));return u.return(Ah(e,t,n,l,r))})};m.O=function(a){return a===this.v()};m.v=function(){return"type.googleapis.com/google.crypto.tink.EciesAeadHkdfPrivateKey"};m.s=function(){return eh};m.m=function(){return 0};m.P=function(){return this.g};var Dh=function(a){this.g=a};A(Dh,oh);Dh.prototype.encrypt=function(a,b){var c=this,d,e,g,f;return C(function(h){if(1==h.h){if(!a)throw new U("Plaintext has to be non-null.");d=c.g.h;if(!d)throw new U("Primary not set.");e=d.B();return B(h,e.encrypt(a,b),2)}g=h.g;f=d.g;return h.return(Y(f,g))})};var Eh=function(){};Eh.prototype.sa=function(a){if(!a)throw new U("Primitive set has to be non-null.");if(!a.h)throw new U("Primary has to be non-null.");return new Dh(a)};Eh.prototype.s=function(){return oh};var Gh=Fh(1,0),Hh=Fh(2,16),Ih=Fh(2,18),Jh=Fh(2,1),Kh=Fh(2,3),Lh=Fh(2,1),Mh=Fh(2,2),Nh=hg("KEM"),Oh=hg("HPKE"),Ph=hg("HPKE-v1");function Fh(a,b){for(var c=new Uint8Array(a),d=0;d<a;d++)c[d]=b>>8*(a-d-1)&255;return c}function Qh(a){var b=a.G;return Y(Ph,a.A,hg(a.H),b)}function Rh(a){var b=a.M,c=a.info,d=a.A;return Y(Fh(2,a.length),Ph,d,hg(b),c)}function Sh(a){switch(a){case 2:return 1;case 4:return 3;default:throw new X("Unrecognized NIST HPKE KEM identifier");}}function Th(a,b){var c;return C(function(d){return 1==d.h?(c=qg(a,1,b),B(d,ug(c),2)):d.return(d.g)})}function Uh(a){var b=a.ea,c=a.publicKey,d=a.privateKey,e;return C(function(g){return 1==g.h?(e=qg(b,1,c),e.d=ig(d),B(g,vg(e),2)):g.return(g.g)})}function Vh(a){var b,c;return C(function(d){if(1==d.h)return b=a.algorithm,B(d,tg(a),2);c=d.g;if(!c.crv)throw new U("Curve has to be defined.");return d.return(lg(b.namedCurve,1,c))})};var Wh=function(a,b,c,d){this.ia=a;this.key=b;this.i=c;this.h=d;this.g=BigInt(0);this.l=(BigInt(1)<<BigInt(96))-BigInt(1)};Wh.prototype.seal=function(a,b){var c=this,d;return C(function(e){return 1==e.h?(d=Xh(c),B(e,c.h.seal({key:c.key,nonce:d,Ga:a,da:b}),2)):e.return(e.g)})};Wh.prototype.open=function(a,b){var c=this,d;return C(function(e){d=Xh(c);return e.return(c.h.open({key:c.key,nonce:d,Aa:a,da:b}))})};var Xh=function(a){for(var b=a.g,c=new Uint8Array(12),d=0;12>d;d++)c[d]=Number(b>>BigInt(8*(12-d-1)))&255;b=a.i;if(b.length!==c.length)throw new X("Both byte arrays should be of the same length");d=new Uint8Array(b.length);for(var e=0;e<d.length;e++)d[e]=b[e]^c[e];if(a.g>=a.l)throw new U("message limit reached");a.g+=BigInt(1);return d};function Yh(a,b,c,d,e,g){var f,h,k,l,n,p,t;return C(function(r){switch(r.h){case 1:a:{switch(e.aa){case 16:var u=Lh;break a;case 32:u=Mh;break a}u=void 0}a:{switch(d.Z){case "SHA-256":var z=Jh;break a;case "SHA-512":z=Kh;break a}z=void 0}f=Y(Oh,Zh(c),z,u);return B(r,$h(d,{G:new Uint8Array(0),H:"psk_id_hash",A:f}),2);case 2:return h=r.g,B(r,$h(d,{G:g,H:"info_hash",A:f}),3);case 3:return k=r.g,l=Y(Gh,h,k),B(r,$h(d,{G:new Uint8Array(0),H:"secret",A:f,salt:b}),4);case 4:return n=r.g,B(r,ai(d,{pa:n,info:l,M:"key",A:f,length:e.aa}),5);case 5:return p=r.g,B(r,ai(d,{pa:n,info:l,M:"base_nonce",A:f,length:12}),6);case 6:return t=r.g,r.return(new Wh(a,p,t,e))}})}function bi(a,b,c,d,e){var g,f,h;return C(function(k){return 1==k.h?B(k,b.ha(a),2):3!=k.h?(g=k.g,f=g.ia,h=g.Ia,B(k,Yh(f,h,b,c,d,e),3)):k.return(k.g)})}function ci(a,b,c,d,e,g){var f;return C(function(h){return 1==h.h?B(h,c.fa(a,b),2):3!=h.h?(f=h.g,B(h,Yh(a,f,c,d,e,g),3)):h.return(h.g)})};var di=function(a,b){this.privateKey=a;this.publicKey=b},ei=function(a){return C(function(b){return 1==b.h?B(b,Vh(a.publicKey),2):b.return(b.g)})};function fi(a){var b=a.privateKey,c=a.publicKey,d=a.ea,e,g;return C(function(f){if(1==f.h){if(!b)throw new X("KEM private key was null or undefined");if(!c)throw new X("KEM public key was null or undefined");return B(f,Th(jg(d),c),2)}if(3!=f.h)return e=f.g,B(f,Uh({ea:jg(d),publicKey:c,privateKey:b}),3);g=f.g;return f.return(new di(g,e))})}function gi(a){return C(function(b){hi(a.privateKey,"private");hi(a.publicKey,"public");return b.return(new di(a.privateKey,a.publicKey))})}function hi(a,b){if(b!==a.type)throw new X("keyPair "+b+" key was of type "+a.type);a=a.algorithm;if("ECDH"!==a.name)throw new X("keyPair "+b+" key should be ECDH but found "+a.name);};var ii=function(a){this.aa=a};ii.prototype.seal=function(a){var b=a.key,c=a.nonce,d=a.Ga,e=a.da,g=this,f;return C(function(h){if(1==h.h){if(b.length!==g.aa)throw new U("Unexpected key length: "+b.length.toString());return B(h,$g({key:b,D:!1}),2)}return 3!=h.h?(f=h.g,B(h,f.encrypt(c,d,e),3)):h.return(h.g)})};ii.prototype.open=function(a){var b=a.key,c=a.nonce,d=a.Aa,e=a.da,g=this,f;return C(function(h){if(1==h.h){if(b.length!==g.aa)throw new U("Unexpected key length: "+b.length.toString());return B(h,$g({key:b,D:!1}),2)}f=h.g;return h.return(f.decrypt(c,d,e))})};var ji=function(a){this.Z=a},$h=function(a,b){var c=b.G,d=b.H,e=b.A,g=b.salt;return C(function(f){return 1==f.h?B(f,ki(a,Qh({H:d,G:c,A:e}),g),2):f.return(f.g)})},ai=function(a,b){var c=b.pa,d=b.info,e=b.M,g=b.A,f=b.length;return C(function(h){return 1==h.h?B(h,li(a,c,Rh({M:e,info:d,A:g,length:f}),f),2):h.return(h.g)})},mi=function(a,b){var c=b.G,d=b.H,e=b.info,g=b.M,f=b.A,h=b.length,k=b.salt,l;return C(function(n){return 1==n.h?B(n,ki(a,Qh({H:d,G:c,A:f}),k),2):3!=n.h?(l=n.g,B(n,li(a,l,Rh({M:g,info:e,A:f,length:h}),h),3)):n.return(n.g)})},li=function(a,b,c,d){var e,g,f,h,k,l,n;return C(function(p){switch(p.h){case 1:if(!v(Number,"isInteger").call(Number,d))throw new U("length must be an integer");if(0>=d)throw new U("length must be positive");e=ni(a);if(d>255*e)throw new U("length too large");Z(c);return B(p,Rg(a.Z,b,e),2);case 2:g=p.g,f=1,h=0,k=new Uint8Array(0),l=new Uint8Array(d);case 3:return n=new Uint8Array(k.length+c.length+1),n.set(k,0),n.set(c,k.length),n[n.length-1]=f,B(p,Pg(g,n),6);case 6:k=p.g;if(h+k.length<d)l.set(k,h),h+=k.length,f++;else{l.set(k.subarray(0,d-h),h);p.h=5;break}p.h=3;break;case 5:return p.return(l)}})},ki=function(a,b,c){var d,e,g,f;return C(function(h){if(1==h.h)return Z(b),d=ni(a),(null==(e=c)?0:e.length)||(c=new Uint8Array(d)),Z(c),B(h,Rg(a.Z,c,d),2);if(3!=h.h)return g=h.g,B(h,Pg(g,b),3);f=h.g;return h.return(f)})},ni=function(a){switch(a.Z){case "SHA-256":return 32;case "SHA-512":return 64}};var oi=function(a,b){this.i=a;this.g=b},pi=function(a){switch(a){case 1:return new oi(new ji("SHA-256"),1);case 3:return new oi(new ji("SHA-512"),3)}};oi.prototype.h=function(a,b,c){var d=this,e,g;return C(function(f){return 1==f.h?(e=Y(b,c),g=Y(Nh,Zh(d)),B(f,mi(d.i,{G:a,H:"eae_prk",info:e,M:"shared_secret",A:g,length:ni(d.i)}),2)):f.return(f.g)})};oi.prototype.l=function(a,b){var c=this,d,e,g,f,h;return C(function(k){switch(k.h){case 1:return B(k,Th(jg(c.g),a),2);case 2:return d=k.g,B(k,rg(b.privateKey,d),3);case 3:return e=k.g,B(k,ei(b),4);case 4:return g=k.g,B(k,c.h(e,g,a),5);case 5:return f=k.g,h={Ia:f,ia:g},k.return(h)}})};oi.prototype.ha=function(a){var b=this,c,d,e,g;return C(function(f){switch(f.h){case 1:return B(f,sg(jg(b.g)),2);case 2:return c=f.g,d=b,e=d.l,g=a,B(f,gi(c),4);case 4:return B(f,e.call(d,g,f.g),3);case 3:return f.return(f.g)}})};oi.prototype.fa=function(a,b){var c=this,d,e,g,f,h,k;return C(function(l){switch(l.h){case 1:return d=b.privateKey,B(l,Th(jg(c.g),a),2);case 2:return e=l.g,B(l,rg(d,e),3);case 3:return g=l.g,f=c,h=f.h,k=a,B(l,ei(b),4);case 4:return l.return(h.call(f,g,k,l.g))}})};var Zh=function(a){switch(a.g){case 1:return Hh;case 3:return Ih}};/*

 Copyright 2023 Google LLC
 SPDX-License-Identifier: Apache-2.0
*/
var qi=function(a){switch(R(a,1)){case 2:return pi(1);case 4:return pi(3);default:throw new X("Unrecognized HPKE KEM identifier");}},ri=function(a){switch(R(a,2)){case 1:return new ji("SHA-256");case 3:return new ji("SHA-512");default:throw new X("Unrecognized HPKE KDF identifier");}},si=function(a){switch(a.L()){case 1:return new ii(16);case 2:return new ii(32);default:throw new X("Unrecognized HPKE AEAD identifier");}};var ti=function(a,b,c,d,e){if(!a)throw new X("Recipient private key must be non-null.");if(!b)throw new X("KEM algorithm must be non-null.");if(!c)throw new X("KDF algorithm must be non-null.");if(!d)throw new X("AEAD algorithm must be non-null.");this.o=a;this.l=b;this.i=c;this.h=d;this.g=e};A(ti,eh);var ui=function(a){var b,c,d,e,g,f,h;return C(function(k){if(1==k.h){if(0===V(M(a,3)).length)throw new X("Recipient private key is empty.");b=O(a,Wf,2);if(!b)throw new X("Recipient private key is missing public key field.");c=O(b,Rf,2);if(!c)throw new X("Public key is missing params field.");d=qi(c);e=ri(c);g=si(c);a:switch(R(c,1)){case 2:var l=65;break a;case 4:l=133;break a;default:throw new X("Unable to determine KEM-encoding length");}f=l;a:{l=O(a,Wf,2);if(!l)throw new X("Public key not set");var n=O(l,Rf,2);if(!n)throw new X("Params not set");switch(R(n,1)){case 2:case 4:l=fi({privateKey:V(M(a,3)),publicKey:V(M(l,3)),ea:Sh(R(n,1))});break a;default:throw new X("Unrecognized HPKE KEM identifier");}}return B(k,l,2)}h=k.g;return k.return(new ti(h,d,e,g,f))})};ti.prototype.decrypt=function(a,b){var c=this,d,e,g;return C(function(f){if(1==f.h){if(a.length<=c.g)throw new U("Ciphertext is too short.");b||(b=new Uint8Array(0));d=a.slice(0,c.g);e=a.slice(c.g,a.length);return B(f,ci(d,c.o,c.l,c.i,c.h,b),2)}g=f.g;return f.return(g.open(e,vi))})};var vi=new Uint8Array(0);var wi=function(a,b,c,d){if(!a)throw new X("Recipient public key must be non-null.");if(!b)throw new X("KEM algorithm must be non-null.");if(!c)throw new X("KDF algorithm must be non-null.");if(!d)throw new X("AEAD algorithm must be non-null.");this.l=a;this.i=b;this.h=c;this.g=d};A(wi,oh);var xi=function(a){var b,c,d,e;return C(function(g){if(0===V(M(a,3)).length)throw new X("Recipient public key is empty.");b=O(a,Rf,2);if(!b)throw new X("Public key is missing params field.");c=qi(b);d=ri(b);e=si(b);return g.return(new wi(a,c,d,e))})};wi.prototype.encrypt=function(a,b){var c=this,d,e,g;return C(function(f){if(1==f.h)return b||(b=new Uint8Array(0)),d=V(M(c.l,3)),B(f,bi(d,c.i,c.h,c.g,b),2);if(3!=f.h)return e=f.g,B(f,e.seal(a,yi),3);g=f.g;return f.return(Y(e.ia,g))})};var yi=new Uint8Array(0);function zi(a){var b=R(a,1);if(2!==b&&4!==b)throw new U("Invalid hpke params - unknown KEM identifier.");b=R(a,2);if(1!==b&&3!==b)throw new U("Invalid hpke params - unknown KDF identifier.");a=a.L();if(1!==a&&2!==a)throw new U("Invalid hpke params - unknown AEAD identifier.");}function Ai(a,b){Kg(a.m(),b);b=O(a,Rf,2);if(!b)throw new U("Invalid public key - missing key params.");zi(b);if(0===dg(M(a,3)))throw new U("Invalid public key - missing public key value.");};var Bi=function(){};Bi.prototype.S=function(){throw new U("This operation is not supported for public keys. Use HpkePrivateKeyManager to generate new keys.");};var Ci=function(){this.g=new Bi};m=Ci.prototype;m.B=function(a,b){var c=this,d;return C(function(e){if(a!==c.s())throw new U("Requested primitive type which is not supported by this key manager.");if(b instanceof ag){if("type.googleapis.com/google.crypto.tink.HpkePublicKey"!==Q(b,1))throw new U("Key type "+Q(b,1)+" is not supported. This key manager supports type.googleapis.com/google.crypto.tink.HpkePublicKey.");try{var g=Yf(M(b,2))}catch(f){throw new U("Input cannot be parsed as type.googleapis.com/google.crypto.tink.HpkePublicKey key-proto.");}if(!O(g,Rf,2)||!M(g,3))throw new U("Input cannot be parsed as type.googleapis.com/google.crypto.tink.HpkePublicKey key-proto.");}else if(b instanceof Wf)g=b;else throw new U("Key type is not supported. This key manager supports type.googleapis.com/google.crypto.tink.HpkePublicKey.");d=g;Ai(d,c.m());return e.return(xi(d))})};m.O=function(a){return a===this.v()};m.v=function(){return"type.googleapis.com/google.crypto.tink.HpkePublicKey"};m.s=function(){return oh};m.m=function(){return 0};m.P=function(){return this.g};var Di=function(){};Di.prototype.S=function(a){var b,c,d,e,g,f,h,k,l,n;return C(function(p){switch(p.h){case 1:if(!a)throw new U("Key format must be non-null.");if(a instanceof Uint8Array){try{var t=Vf(a)}catch(z){throw new U("Input cannot be parsed as type.googleapis.com/google.crypto.tink.HpkePrivateKey key format proto.");}if(!O(t,Rf,1))throw new U("Input cannot be parsed as type.googleapis.com/google.crypto.tink.HpkePrivateKey key format proto.");}else if(a instanceof Tf)t=a;else throw new U("Expected type.googleapis.com/google.crypto.tink.HpkePrivateKey key format proto.");b=t;t=O(b,Rf,1);if(!t)throw new U("Invalid key format - missing key params.");zi(t);c=O(b,Rf,1);if(!c)throw new U("Params not set");d=Sh(R(c,1));e=jg(d);return B(p,sg(e),2);case 2:return g=p.g,B(p,tg(g.privateKey),3);case 3:return f=p.g,B(p,Vh(g.publicKey),4);case 4:h=p.g;t=new Wf;t=ud(t,1,0);t=td(t,2,c);k=vd(t,3,h);l=f;n=l.d;if(void 0===n)throw new U("d must be set");t=p.return;var r=new Zf;r=ud(r,1,0);r=td(r,2,k);var u=gg(n);r=vd(r,3,u);return t.call(p,r)}})};var Ei=function(){this.g=new Di};m=Ei.prototype;m.B=function(a,b){var c=this,d;return C(function(e){if(a!==c.s())throw new U("Requested primitive type which is not supported by this key manager.");if(b instanceof ag){if("type.googleapis.com/google.crypto.tink.HpkePrivateKey"!==Q(b,1))throw new U("Key type "+Q(b,1)+" is not supported. This key manager supports type.googleapis.com/google.crypto.tink.HpkePrivateKey.");var g=M(b,2);try{var f=$f(g)}catch(h){throw new U("Input cannot be parsed as type.googleapis.com/google.crypto.tink.HpkePrivateKey key-proto.");}if(!O(f,Wf,2)||!M(f,3))throw new U("Input cannot be parsed as type.googleapis.com/google.crypto.tink.HpkePrivateKey key-proto.");g=f}else if(b instanceof Zf)g=b;else throw new U("Key type is not supported. This key manager supports type.googleapis.com/google.crypto.tink.HpkePrivateKey.");d=g;Kg(d.m(),0);if(0===dg(M(d,3)))throw new U("Invalid private key - missing private key value.");g=O(d,Wf,2);if(!g)throw new U("Invalid private key - missing public key field.");Ai(g,0);return e.return(ui(d))})};m.O=function(a){return a===this.v()};m.v=function(){return"type.googleapis.com/google.crypto.tink.HpkePrivateKey"};m.s=function(){return eh};m.m=function(){return 0};m.P=function(){return this.g};function Fi(a,b,c,d){var e=new Tf,g=new Rf;a=N(g,1,Rc(a),0);b=N(a,2,Rc(b),0);c=N(b,3,Rc(c),0);e=td(e,1,c);c=new Cf;c=N(c,1,Yc("type.googleapis.com/google.crypto.tink.HpkePrivateKey"),"");e=e.g();e=vd(c,2,e);N(e,3,Rc(d),0)};Fi(2,1,1,3);Fi(2,1,1,1);Fi(2,1,2,3);Fi(2,1,2,1);Fi(4,3,2,3);Fi(4,3,2,1);var Gi=function(a,b,c){this.i=a;this.g=b;this.h=c};Gi.prototype.B=function(){return this.i};var Hi=function(a){this.i=a;this.h=null;this.g=new q.Map};Hi.prototype.s=function(){return this.i};var ih=function(a,b){return(a=Ii(a,b))?a:[]},Ii=function(a,b){b instanceof Uint8Array&&(b=[].concat(ka(b)).toString());return a.g.get(b)};var Ji=function(a){if(!a||!sd(a)||1>sd(a).length)throw new U("Keyset should be non null and must contain at least one key.");for(var b=!1,c=sd(a).length,d=0;d<c;d++){var e=sd(a)[d];if(!e)throw new U("Key should be non null.");if(!O(e,ag,1))throw new U("Key data are missing for key "+P(e,3)+".");if(0===R(e,4))throw new U("Key "+P(e,3)+" has unknown output prefix type.");if(0===R(e,2))throw new U("Key "+P(e,3)+" has unknown status.");if(P(a,1)===P(e,3)&&1===R(e,2)){if(b)throw new U("Primary key has to be unique.");b=!0}}if(!b)throw new U("Primary key has to be in the keyset and has to be enabled.");this.g=a};Ji.prototype.B=function(a,b){var c=this,d;return C(function(e){if(1==e.h){if(!a)throw new X("primitive type must be non-null");return B(e,Ki(c,a,b),2)}d=e.g;var g=e.return;if(!d)throw new U("primitive set cannot be null.");var f=d.s(),h=Cg.get(f);if(!h)throw new U("no primitive wrapper found for type "+f);h=h.sa(d);if(!(h instanceof f))throw new TypeError("Unexpected type");return g.call(e,h)})};var Ki=function(a,b,c){var d,e,g,f,h,k,l,n;return C(function(p){switch(p.h){case 1:d=new Hi(b),e=sd(a.g),g=e.length,f=0;case 2:if(!(f<g)){p.h=4;break}h=e[f];if(1!==R(h,2)){p.h=3;break}k=O(h,ag,1);if(!k)throw new U("Key data has to be non null.");l=void 0;return c&&c.v()===Q(k,1)?B(p,c.B(b,k),9):B(p,Fg(b,k),8);case 8:l=p.g;p.h=7;break;case 9:l=p.g;case 7:var t=l;if(!t)throw new U("Primitive has to be non null.");if(!h)throw new U("Key has to be non null.");a:switch(R(h,4)){case 2:case 4:var r=fh(P(h,3),0);break a;case 1:r=fh(P(h,3),1);break a;case 3:r=gh;break a;default:throw new U("Unsupported key prefix type.");}t=new Gi(t,r,R(h,2),R(h,4));r=[].concat(ka(t.g)).toString();var u=Ii(d,r);u?(u.push(t),d.g.set(r,u)):d.g.set(r,[t]);n=t;if(P(h,3)===P(a.g,1)){if(!n)throw new U("Primary cannot be set to null.");if(1!=n.h)throw new U("Primary has to be enabled.");t=ih(d,n.g);r=!1;u=t.length;for(var z=0;z<u;z++)if(1===t[z].h){r=!0;break}if(!r)throw new U("Primary cannot be set to an entry which is not held by this primitive set.");d.h=n}case 3:f++;p.h=2;break;case 4:return p.return(d)}})};Ji.prototype.write=function(){return C(function(){throw new U("KeysetHandle -- write: Not implemented yet.");})};function Li(a){if(null===a)throw new U("Reader has to be non-null.");a=a.read();for(var b=y(sd(a)),c=b.next();!c.done;c=b.next()){c=O(c.value,ag,1);if(null==c)throw new U("Key data has to be non null.");c=R(c,3);if(0===c||1===c||2===c)throw new U("Keyset contains secret key material.");}return new Ji(a)};function Mi(a){return Li({read:function(){return cg(a)},Oa:function(){throw new U("Not implemented yet.");}})};function Ni(a){var b=new $e;var c=a.topic;if(null!=c){if("number"!==typeof c)throw Oc("int32");v(Number,"isFinite").call(Number,c)||Nc()}b=N(b,1,c,0);b=N(b,2,Yc(a.version),"");b=N(b,3,Yc(a.configVersion),"");b=N(b,4,Yc(a.modelVersion),"");return N(b,5,Yc(a.taxonomyVersion),"")}function Oi(a,b,c,d){c=void 0===c?document:c;d=void 0===d?window:d;var e,g,f,h,k,l,n,p,t,r,u,z;return C(function(x){switch(x.h){case 1:e=c;if("function"!==typeof e.browsingTopics)return Be(a,2),x.return();g=a.data;f=!!g.skipTopicsObservation;return B(x,e.browsingTopics({skipObservation:f}),2);case 2:h=x.g;if(!g.includeBuyerTopics){k=[];x.h=3;break}return B(x,d.fetch("https://pagead2.googlesyndication.com/pagead/buyside_topics/get",{browsingTopics:!0}).then(function(J){return J.text()}).then(Pi).catch(function(){return[]}),4);case 4:k=x.g;case 3:l=k;n=new q.Map(h.map(function(J){return[J.topic,J]}));p=y(l);for(t=p.next();!t.done;t=p.next())r=t.value,n.has(r.topic)||n.set(r.topic,r);g.includeBuyerTopics&&xe({bs:l.length,us:n.size,ss:h.length});u=v(Array,"from").call(Array,v(n,"values").call(n));return u.length?B(x,b.encrypt((new TextEncoder).encode(xd(bf(new af,u.map(Ni))))),5):(Be(a,3),x.return());case 5:z=x.g,Be(a,z,void 0,[z.buffer]),x.h=0}})}function Pi(a){var b=[];a.split(",").forEach(function(c){var d=c.trim();if(v(d,"startsWith").call(d,"(")){var e=d.match(/^\(([\d ]+)\);v=([^\s;]+)(;p=.*)?$/);if(e){d=e[1].split(" ");e=e[2];var g=y(e.split(":"));c=g.next().value;var f=g.next().value;g=g.next().value;if(0!==d.length&&e&&c&&f&&g){d=y(d);for(var h=d.next();!h.done;h=d.next())b.push({topic:Number(h.value),version:e,configVersion:c,modelVersion:g,taxonomyVersion:f})}}}else{c=null==(g=d.match(/^(\d+);/))?void 0:g[1];var k;g=null==(k=d.match(/;version="(.+?)"/))?void 0:k[1];k=null==(h=d.match(/;config_version="(.+?)"/))?void 0:h[1];h=null==(f=d.match(/;model_version="(.+?)"/))?void 0:f[1];f=null==(e=d.match(/;taxonomy_version="(.+?)"/))?void 0:e[1];c&&g&&k&&h&&f&&b.push({topic:Number(c),version:g,configVersion:k,modelVersion:h,taxonomyVersion:f})}});return b};(function(a){var b=new Qe;Ve(b,977,function(){var c,d,e;return C(function(g){if(1==g.h){c=window.document.referrer;if(!c)return b.g(988,Error()),g.return();Dg(new Yg);Dg(new dh);Gg(new kh);Dg(new Ch);Dg(new wh);Gg(new Eh);Dg(new Ei);Dg(new Ci);return B(g,Mi(a).B(oh),2)}d=g.g;e=Te(b,function(f){var h=void 0===h?document:h;var k=void 0===k?window:k;var l=f.data;if("goog:topics:frame:handshake:ack"===l)Be(f,"goog:topics:frame:handshake:ack");else switch(l.message){case "goog:spam:client_age":Ve(b,1062,Ze(l.pvsid));Be(f,"goog:spam:client_age:ack");break;case "goog:topics:frame:get:topics":Ve(b,1002,Oi(f,d,h,k))}});Fe({destination:window.parent,origin:c,ja:"goog:gRpYw:doubleclick",onMessage:e});g.h=0})}())})('[351284738,[[["type.googleapis.com/google.crypto.tink.EciesAeadHkdfPublicKey","EkQKBAgCEAMSOhI4CjB0eXBlLmdvb2dsZWFwaXMuY29tL2dvb2dsZS5jcnlwdG8udGluay5BZXNHY21LZXkSAhAQGAEYARog5z+eqzXpk2SD9nfrNTaxxgy+IUFKl+FdJ63gJJGsZMoiIE5SAUd01WBkOowgnddBWBB/yDCFCoqOXYIQ5G9azhRe",3],1,351284738,1],[["type.googleapis.com/google.crypto.tink.EciesAeadHkdfPublicKey","EkQKBAgCEAMSOhI4CjB0eXBlLmdvb2dsZWFwaXMuY29tL2dvb2dsZS5jcnlwdG8udGluay5BZXNHY21LZXkSAhAQGAEYARogJVp08rg6Vy/61mR3gbBGw8w3+JLaZnZPs9RrcQ0CDfQiILH3g6blf7mw4V7a9NdkNe0d1PVTGNtNUX7jZmXPnXZs",3],1,2623294582,1]]]');
    </script>
  </head>
  <body>

<fencedframe id="privacy-sandbox-client-age-fencedframe"></fencedframe></body></html>